Question: I. P. 698 #1 (SAVE THIS CODE ALSO FOR THE EXCEPTION LAB) -Create a WorkDemo class that does the following: Create a ProductionWorker object with
I. P. 698 #1 (SAVE THIS CODE ALSO FOR THE EXCEPTION LAB) -Create a WorkDemo class that does the following: Create a ProductionWorker object with the following data: John Smith, ID: 123-A, Hire Date: 11-15-2005, Day Shift, Pay Rate/Hr $16.50 Create another Production Worker object with the data below and use the SET methods: Joan Jones, ID: 222-L, Hire Date: 12-12-2005, Night Shift, Pay Rate/Hr: $18.50 Display both production workers for output. Create an Employee class with the following methods: Default constructor, overloaded constructor, setName, setEmployeeNumber, setHireDate, getName, getEmployeeNumber, getHireDate, is ValidEmpNum, and toString Create a Production Worker class with the following methods: Default constructor, overloaded constructor, setShift, setPayRate, getShift, getPayRate, and toString
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
