(Solved):Write a class named Employee that has the following member variables: a. name. A string that holds the employee’s name. b. id Number. An int variable that holds the employee’s ID number. c. dep… View Answer…

 

Question

Write a class named Employee that has the following member variables:

a. name. A string that holds the employee’s name.

b. id Number. An int variable that holds the employee’s ID number.

c. department. A string that holds the name of the department where the employee works.

d. position. A string that holds the employee’s job title.

The class should have the following constructors:

a. A constructor that accepts the following values as arguments and

Scroll to top