Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.17K Points
Coach

Q. What does the arity method return for a proc or lambda in Ruby?

(A) The number of optional arguments for the proc or lambda
(B) The total number of arguments for the proc or lambda
(C) The number of required arguments for the proc or lambda
(D) None of the above

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.