Vidyalelo
Ruby Programming · Q41

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 41

Q41

What is the output of the given code? a=["hey", "ruby", "language"] b=["hey", "ruby", "language"] 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