Please enable JavaScript to use CodeHS

Chapter 9

Inheritance

9.5 Creating References Using Inheritance Hierarchies

Java Documentations & Class Hierarchy

Superclass as a Reference Type

Applications of Polymorphism

Animal Sounds

Shape Areas

Person Class

Check Your Understanding

  1. Incorrect Correct No Answer was selected Invalid Answer

Exercise: Creating .equals()