Intro to Computer Science II Chapter 9 Inheritance and Polymorphism Extending classes and implementing interfaces BGA Managing complexity There are two hierarchies in OOP…