...
Write a class named Employee
that has the following fields:
...
firstName.
The firstName
field is a string
that holds the employee’s first name.
...
lastName.
The lastName
field is a string
that holds the employee’s last name.
...
idNumber.
The idNumber
is an int
variable that holds the employee’s ID number.
...
department.
The department
field is a string
that holds the name of the department where the employee works.
...
Program User prompts:
Employee information from the user for one instance of the Employee
...