Options:
- Polymorphism involves overriding superclass methods and adding specific functionality to them
- The program understands which version of a method is referred to based on the type of object being used
- Implementing a class-specific version of a superclass method involves renaming the method
- Polymorphism is the ability to use an object as if it were an object of its superclass while still using its overridden methods
-
Inheritance and overloading form the basis of polymorphism
1 Answers
The correct answers are:
- Polymorphism involves overriding superclass methods and adding specific functionality to them
- The program understands which version of a method is referred to based on the type of object being used
- Polymorphism is the ability to use an object as if it were an object of its superclass while still using its overridden methods