πŸ“Š Ruby
Q. What will be the output of the following?
array1 = [1,2,3]
array2 = [0,0,0]
if array1 == array2
print "Equal"
else
print "Not equal"
end
  • (A) Equal
  • (B) Not equal
  • (C) Error
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) Equal

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
164
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate