9.6 Polymorphism
Enduring Understanding
When multiple classes contain common attributes and behaviors, programmers create a new class containing the shared attributes and behaviors forming a hierarchy. Modifications made at the highest level of the hierarchy apply to the subclasses.
Learning Objective
Call methods in an inheritance relationship.
Essential Knowledge
Utilize the Object class through inheritance.
At compile time, methods in or inherited by the declared type determine the correctness of a non-static method call.
At run-time, the method in the actual object type is executed for a non-static method call.
Last updated
Was this helpful?