Home / Programming MCQs / Ruby MCQs / Question

M

Mr. Dubey • 51.32K Points
Coach

Q. What is a lambda in Ruby?

(A) A type of anonymous function similar to a proc, but with stricter argument checking
(B) A block of code that is passed to methods as an argument
(C) A predefined set of instructions
(D) A method that takes no arguments

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.