subject

Write a class named employee that has the following fields:
• name : the name field is a string object that holds the employee's name .
• idnumber: the idnumber is an int variable that holds the employee's id number.
• department: the department field is a string object that holds the name of the department where the employee works.
• position: the position field is a string object that holds the employee's job title.

write appropriate mutator methods that store the values in these fields and accessor methods that return thevalues in these fields.

once you have written the class , write a separate
program that creates three employee objects to hold the following data:

name id number department position
susan meyers 47899 marketing sales rep
mark jones 39119 it programmer
joy rogers 81774 manufacturing engineer

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 19:00
When keyboarding, if you want to be fast and accurate you should return your hands on home row with your fingers relaxed and your eyes on the text use only your index fingers to hunt and peck keep your fingers stiff and your eyes on the keys slouch in your chair and keep your fingers hovering over all of the keys
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 24.06.2019 09:40
Healthy study habits are best described as
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
What is the opening page of a website called? a. web page b. landing page c. homepage d. opening page
Answers: 1
You know the right answer?
Write a class named employee that has the following fields:
• name : the name field is a str...
Questions
Questions on the website: 13722361