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 16:20
It policy compliance and emerging technologies respond to the following: propose at least three control measures that organizations need to put in place to ensure that they remain complaint with emerging technologies and in a continually changing it environment. examine the correlation of effective configuration management and change control procedures to remain compliant with emerging technologies and it security changes.
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
Which text format is this, "the text is transcribed exactly as it sounds and includes all the utterances of the speakers. "?
Answers: 2
question
Computers and Technology, 24.06.2019 13:00
Your mom wants to purchase a laptop computer. she said she wants her new computer to be able to play her dvds so she can listen to music and wants to know what type of optical drives will play her disk. which type of drive should she look for?
Answers: 1
question
Computers and Technology, 25.06.2019 03:30
All nate specialties are offered at two levels, a. journeyman and master. b. installation and service. c. apprentice and journeyman. d. heating and air conditioning.
Answers: 1
You know the right answer?
Design an employee class that has fields for the following pieces of information: employee nameemp...
Questions
Questions on the website: 13722361