EE2E1. JAVA Programming Lecture 3 Inheritance Contents Base classes and derived classes Protected scope Inheritance hierarchies The IS-A relationship Polymorphism Abstract…