Q. 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
  • (D) Passing the return value of one method as an argument to another method
πŸ’¬ Discuss
βœ… Correct Answer: (C) Invoking multiple methods on the same object in a single line of code

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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