Question: In visual studios under the design tab: Create an Employee class that has properties for the data Employee name and Employee number. Next, create a
In visual studios under the design tab: Create an Employee class that has properties for the data Employee name and Employee number. Next, create a class named ProductionWorker that is derived from the Employee class. The ProductionWorker class should have properties to hold the following data: Shift number an integer, such as or and Hourly pay rate. The workday is divided into two shifts: day and night. The Shift property will hold an integer value representing the shift that the employee works. The day shift is shift and the night shift is shift Create an application that creates an object of the ProductionWorker class and lets the user enter data in textboxes for each of the objects properties. Retrieve the objects properties and display their values. A shift supervisor is a salaried employee who supervises a shift. In addition to a salary, the shift supervisor earns a yearly bonus when his or her shift meets production goals. Create a ShiftSupervisor class that is derived from the Employee class you create. The ShiftSupervisor class should have a property that holds the annual salary and a property that holds the annual production bonus that a shift supervisor has earned. Demonstrate the class in the application.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
