Question: (Payroll System Modification) Modify the payroll system That is given in the Codes for Assignment 2 and 3 folder to include private instance variable birthDate
Employee Salaried Employee Commission Employee HourlyEmployee BasePlusCommission Employee earnings toString Employee abstract firstName lastName social security number: SSN Salaried- Employee weeklySalary salaried employee: firstName lastName social security number: SSN weekly salary: weeklysalary Hourly- Employee if hours 40 wage hours else if hours > 40 40 Wage (hours 40 ) wage 1.5 hourly employee: firstName tastName social security number: SSN hourly wage: wage: hours worked: hours 2 Commission- Employee commissionate grossSales commission employee: firstName lastName social security number: SSN gross sales grossSales: commission rate: commissionate BasePlus- Commission- Employee (comissionate gross Sales baseSalary base salaried commission employee: firstName lastName social security number: 55N gross sales Brass Sales commission rate commissionate base salary basery
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
