1. Modify the Payroll Program so that it uses a class to store and retrieve the employee's name, the hourly rate, and the number of hours worked.
2. Use a constructor to initialize the employee information, and a method within that class to calculate the weekly pay. Once stop is entered as the employee name, the application should terminate. Make sure the program maintains all the functionality required in previous assignments and your source code is readable and well documented.
For right now, you just need to create a single instance of the class file and use the getters/setters to set and get the information.
I have attached the first part of this Payroll Project, just need to add the above to this program.© BrainMass Inc. brainmass.com March 21, 2019, 1:22 pm ad1c9bdddf
Make sure you compile Employee.java and then payroll.java
Please follow the following steps.
Extract zip files,
Step 1: ...
A Java program is provided.