Q. Which of the following is correct syntax to create an array in ruby?
β
Correct Answer: (C)
Both A and B
Explanation: We can create an array using both option A and option B.