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 object that holds the employee’s first name.

  • lastName. The lastName field is a String object 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 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.

...

Program User prompts:

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

...

  • Use getters/setters for all of the attributes.

  • For the output, you can create a method within the class to output the information. Please be sure to use appropriate labels.

  • Please identify variables with the names indicated above

  • You must include a header and implementation file (separate files) for your class

\uD83D\uDDD2 Requirements

...