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

(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 in class Employee. Use class Date to represent an employees birthday. Add get methods to class Date and replace method toDateString with method toString. Assume that payroll is processed once per month. Create an array of Employee variables to store references to the various employee objects. In a loop, calculate the payroll for each Employee (polymorphically), and add a $100.00 bonus to the persons payroll amount if the current month is the one in which the Employees birthday occurs.( programing language is java)
(Payroll System Modification) Modify the payroll system That is given in the

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!