Question: 11. What does the bang operator (! ) indicate when used as a suffix in a method call in Ruby? a. Modifies the object the


11. What does the bang operator (! ) indicate when used as a suffix in a method call in Ruby? a. Modifies the object the method is called on b. Creates a copy of the object the method is called on c. Concatenates a "!" on the object it is called on d. Calls the method but does not change value of the object it is called on 12. If you had a "Book" class and you wanted to inherit from the "Library" class, what is the proper syntax to do so? a. class Book > Library b. class Book .. Library c. class Book
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
