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 usedas a suffix in a method call in Ruby? a. Modifies 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!