Using the information from Steps 1 and 2, develop a Java program that includes code that makes use of the enum to print out each employee’s data indicating whether they are fixed, permanent, or temporary appointments. Include other details (as seen as part of the Employee class).
Create an enum that holds three employee types, i.e. fixed, permanent and temporary.
Create an Employee class and include the enum created in Step 1 as one of the fields within the class. Include as other fields data such as employee number, name and identity number.
Using the information from Steps 1 and 2, develop a Java program that includes code that makes use of the enum to print out each employee’s data indicating whether they are fixed, permanent, or temporary appointments. Include other details (as seen as part of the Employee class).
Briefly describe how you structured your array. Motivate why you did it like this.
Explain the Java statements that you used to structure your enum.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 4 images