A

Admin • 828.03K Points
Coach

Q. What is a block in Ruby?

  • (A) A chunk of code that can be passed to methods as an argument
  • (B) A data structure for storing multiple values
  • (C) A special type of object that holds code to be executed
  • (D) A method that can be invoked with different arguments
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Ruby
  • Hashtags:

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.

Be the first to start discuss.