Vidyalelo
Ruby Programming · Q61

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 61

Q61

What is the output of the given code? a=[1,2,3,4,5] b=[1,2,3,4,5] if a==b print "Equal" else print "Not equal" end

A.
Equal
Answer
B.
Error
C.
Not equal
D.
None of the mentioned

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board