You built classes and objects in the previous section. Now you'll learn how classes can share behavior through inheritance and respond differently to the same method call through polymorphism.
By the end of this section, you'll know how to extend classes, override methods, cast between types, and use the protected and final keywords. These are the mechanics that let you write code once in a parent class and reuse it across dozens of child classes.