Q34
What does the max method do in Ruby enumerators?
A.
Returns the total number of elements that satisfy a given condition
B.
Returns the element with the maximum index
C.
Returns the element with the maximum value based on a given condition
D.
Returns the maximum value in a collection
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board