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, 22.06.2019 14:00
What are procedures that keep a data base current
Answers: 1
question
Computers and Technology, 23.06.2019 10:50
Your friend kayla is starting her own business and asks you whether she should set it up as a p2p network or as a client-server network. list three questions you might ask to kayla decide which network to use and how her answers to those questions would affect your recommendation.
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Visually impaired individuals generally rely on the for navigation. thus, designers need to ensure that mouse-specific inputs, such as pointing, clicking, and hovering, can be done without a mouse.
Answers: 1
question
Computers and Technology, 24.06.2019 14:00
In simple terms, how would you define a protocol?
Answers: 2
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: 13722367