Vidyalelo
Ruby Programming · Q63

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 63

Q63

What is the output of the given code? a=["hey", "ruby", "language"] b=["hey", "language", "ruby"] if a==b print "Equal" else print "Not equal" end

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

Answer: Option C

Solution

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