Question: In Java Netbeans, define a class Employee which has attributed fname, lname, title which are Strings. EmployeeNum and age, which are integers and salary which

In Java Netbeans, define a class Employee which has attributed fname, lname, title which are Strings. EmployeeNum and age, which are integers and salary which is double. The class should be made Serializable and comparable by salary. Only define the construtor which takes six arguments. Define getters and setters for each attribute.

Declare a list of type Linkined List to hold Employees Definined above. Write a loop that allows the user to enter Employees into the List (Assume that javax.swingJoptionPane has been imported.

Next Prompt the uyser for the Employee Number of an Employee. Declare an Iterator and search the list using the iterator to find the EMployee and Output their name and salary. Prompt the user for the name of a file and output the List to a binary file. Prompt the user for the name of an input file and read the list from the file

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!