Question: * * * * * Using Java in netbeans please with working code and output * * * * * * * Create an EmployeeLinkedList
Using Java in netbeans please with working code and outputCreate an EmployeeLinkedList class. However, instead of generic Link class for the link objects, you should use objects created from an Employee class as the objects stored in the list.
The Employee class represents an employee at a company. It should have instance variables for the employee's first name, last name, id number use an integer date of birth and rate of pay. Also, any other variables needed to make an Employee object work in a linked list should be part of the Employee class.
Give your EmployeeLinkedList class a "find" method that takes an integer argument and returns an Employee object. The argument is used to search the list for an Employee object with a matching id number value. The method then returns a copy of the matching Employee object or a null if nothing is found.
Note the emphasis I put on returning a copy of the Employee object from the "find" method. The two most likely ways to create a copy involve either overriding the "clone" method of the Employee class its inherited from the Object class or using a copy constructor.
Include an EmployeeListDriver class in your project. It should test the "find" method.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
