Vidyalelo
Ruby Programming · Q27

Advanced Topics in Ruby

Programming · Ruby Programming · question 27

Q27

What does the term "method chaining" refer to in Ruby?

A.
Passing multiple arguments to a single method call
B.
Calling the same method recursively
C.
Invoking multiple methods on the same object in a single line of code
Answer
D.
Passing the return value of one method as an argument to another method

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board