Vidyalelo
Ruby Programming · Q57

Arrays, Hashes and Strings in Ruby

Programming · Ruby Programming · question 57

Q57

What will be output of the given code? my_array = [1, 2, 3, 4] print my_array

A.
[1, 2, 3, 4].
Answer
B.
1234
C.
Error
D.
None of the mentioned

Answer: Option A

Solution

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