Please enable JavaScript to use CodeHS

Chapter 9

Inheritance

9.6 Polymorphism

Polymorphism in Action

Modified Student Class

Using Person Methods

Vehicle Methods

Check Your Understanding

  1. Invalid Answer

Exercise: Fun with Solids

Vocabulary

Term Definition
Polymorphism An object can take on different forms depending on its implementation. Java can call the correct method even when an object is disguised as a more generic reference type