In a particular factory, a shift supervisor is a salariedemployee who supervises a shift. In addition to a salary, the shiftsupervisor earns a yearly bonus when his or her shift meetsproduction goals. Design a ShiftSupervisor class that extends theEmployee class you created in Programming Challenge 1. TheShiftSupervisor class should have a field that holds the annualsalary and a field that holds the annual production bonus that ashift supervisor has earned.
Don’t use super
Java
Answer