M

Mr. Dubey • 52.66K Points
Coach

Q. How do you pass arguments to a method in Ruby?

  • (A) method_name(arg1, arg2)
  • (B) method_name { arg1, arg2 }
  • (C) method_name.with(arg1, arg2)
  • (D) method_name arg1 arg2
  • Correct Answer - Option(A)
  • Views: 61
  • Filed under category Ruby

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.


Question analytics