In this lab, you will again extend the FullTimeEmployee class, this time to create a class for salaried employees.
Agrawal,Harsh 45000.00 Chiger,Steve 42000.00 6000.00 Cromer,Jason 46000.00 Petkov,Yuli 43000.00 4000.00 Siddiqi,Amena 46000.00 1500.00 ***
Then the best-paid salaried employee is Chiger,Steve with a gross pay of $48000.00.
For this problem, we will create a class -- SalariedEmployee -- for salaried employees and a class -- SalariedCompany -- to calculate the best-paid salaried employee. What are the responsibilities of the SalariedEmployee class? To initialize a salaried employee from an input line, to determine if the current salaried employee makes more than some other employee, and to return the usual string representation of the salaried employee's name and gross pay.