Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. Employee information from the user for one instance of the Employee

...