Ruby Gold Practice Questions - Ruby Association Certified Ruby Programmer Gold Version 3 Exam

Access More Questions
What does this print? lambda_obj = ->(a, b) { return a + b } proc_obj = Proc.new { |a, b| a + b } puts lambda_obj.call(1, 2) puts proc_obj.call(1, 2, 3)
Correct Answer:
3 then 3

Access more questions from this quiz

Continue to Ruby Gold Practice Questions - Ruby Association Certified Ruby Programmer Gold version 3 Exam for more practice questions and the full quiz experience.

Access More Questions