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. Invalid Answer

Exercise: Creating .equals()