subject

Design an employee class that has fields for the following pieces of information: employee nameemployee numbernext, design a class named productionworker that extends the employee class. the productionworker class should have fields to hold the following information: shift number (an integer, such as 1, 2, or 3)hourly pay ratethe workday is divided into two shifts: day and night. the shift field will hold an integer value representing the shift that the employee works. the day shift is shift 1 and the night shift is shift 2. design the appropriate accessor and mutator methods for each class. once you have designed the classes, design a program that creates an object of the productionworker class and prompts the user to enter data for each of the object’s fields. store the data in the object and then use the object’s accessor methods to retrieve it and display it on the screen.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:10
Look at the far left lane in the picture. explain what the red car is doing and what it needs to do to travel safely.
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 12:30
How is the brightness of oled of the diaplay is controled
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
The more powerful, 60 volt cables and the main power shut-off on an hev are both colored orange.
Answers: 1
You know the right answer?
Design an employee class that has fields for the following pieces of information: employee nameemp...
Questions
question
English, 04.08.2019 12:00
question
Mathematics, 04.08.2019 12:00
Questions on the website: 13722362