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 01:30
What “old fashioned” features of checking accounts is p2p replacing
Answers: 3
question
Computers and Technology, 22.06.2019 08:30
Active listen eliminates barries to communication true or false
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
Which statement is true of web-based social media? a.they allow consumers to interact with and update content. b.they cannot be updated easily, as compared to print media. c.they are expensive to produce and maintain, as compared to print and television. d.they can exist independent of the internet.
Answers: 1
question
Computers and Technology, 23.06.2019 20:30
1. for which of the following are you not required to signal beforehand? a. changing lanes b. speeding up c. stopping
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
question
Mathematics, 05.07.2019 06:30