Versions Compared

Key

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

...

  1. Create a new Java project - call it EmployeeManagement.

  2. Create a new file - make sure you select Java Class and name it Employee.

  3. Within the braces of the class, create attributes to hold the employee’s first name, last name, their department and employee ID (you can assume it will be a whole number).

  4. Still within the braces of the class, create a method that would return the employee’s full name (hint: concatenate first and last name).

  5. Create another method (call it introduction) that will print out the employee's details - their ID, their department, and their full name.

...