Q. Which method returns the first element of an array in Ruby?
β
Correct Answer: (A)
first
Explanation: The first method returns the first element of an array.