Objective:
Employee class with two properties: bonus and salary.salary and bonus.void method employeeSkill() that prints "Employee skill method from Employee class".toString() method to display salary and bonus.Next, create a Programmer class:
bonus and salary.Employee constructor using super.employeeSkill method from Employee using super.employeeSkill().employeeSkill method to print "EmploySkill overriding from Programmer class".In the Main file:
Programmer object.toString() method.employeeSkill() method.
Employee skill method from Employee class
Salary: 80000.0, Bonus: 5000.0
EmployeeSkill overriding from Programmer class