πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) A type of anonymous function similar to a proc, but with stricter argument checking

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
138
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
92%
Success Rate