A

Admin • 833K Points
Coach

Q. What does the "bang" (!) operator do when appended to a method name in Ruby?

  • (A) It indicates that the method returns a new object instead of modifying the receiver
  • (B) It raises an exception if the method fails
  • (C) It indicates that the method mutates the receiver object
  • (D) It performs a bitwise operation on the receiver object
  • Correct Answer - Option(C)
  • Views: 28
  • 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.