M

Mr. Dubey • 54.69K Points
Coach

Q. What is the purpose of the splat operator (*) in Ruby method definitions?

  • (A) To accept a variable number of arguments
  • (B) To multiply two numbers
  • (C) To access instance variables
  • (D) None of the above
  • Correct Answer - Option(A)
  • Views: 54
  • 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