create a class using java that calculates and displays the gross and net pay of an employee based on the data entered by the user when you are designing class ensure you address the following points 1.name the class EmployeePayroll 2.the class is to include a default constructor to record the employee's first name, lastname, id, hours worked, hourly pay rate, gross pay, and net pay 3.the class is to include a default constructer used to initialise the fields for first name, lastname, and ID to empty strings; hours worked and pay rate to zero. 4.the class is to include a second constructor that accepts vaules fpr the firstname, last name , ID, hours worked , and pay rate and initialises their corresponding fields vaules accordingly . 5.each field should have its own getter method that returns its value. 6.setter methods are required to the firstname, lastname, ID, hours worked, and pay rate fields. 7. seperate methods are necessary to calculate gross pay and net pay using the supplied formulas. neither of these methods returns a value. 8.a method is required to display an employee's payslip, containing all their detials including gross and net pay. this method should call on the appropriate getter methods to access the employee's detials. 9.tax rate is a fix value of 42%(0.42) 10. use appropiate code comments
formulas 1.for employees who have worked upto 38 hours gross pay = hours worked * pay rate
2.for employees who have worked upto 42 hours gross pay = 38 * pay rate (hours worked - 38) * 1.5 * pay rate
3.for employees who have worked upto 60 hours gross pay = 38 * pay rate + 4 * 1.5* pay rate + (hours worked - 42) * 2 * pay rate