Inheritance Inheritance New class (derived class) is created from another class (base class). Ex. Employee HourlyEmployee SalariedEmployee Some things like name and hireDate…