Question: public class Employee { public Employee(String id, String name, double pay) { empID = id; lastName = name; salary = pay; } public String getID()

public class Employee { public Employee(String id, String name, double pay) { empID = id; lastName = name; salary = pay; } public String getID() { return empID; } public String getName() { return lastName; } public double getSalary() { return salary; } private String empID; private String lastName; private double salary; }Extra credit if you demonstrate that your Main routine will run on a Binary Search Tree instead of a Linked List.
Consider the following list of employees at a company. We wish to place this data into a set of objects of the class "Employee". Emp ID Last_Name 101 110 112 114 118 123 Salary $53,000 $107,000 $63,500 $42,500 $89,000 $92,000 Harris Smith ones lson Abrams In order to easily manage the list, we need to create a linked list that orders the employees by Emp_ID. The class "LinkedElement" has been provided. You are given the challenge to create your own "LinkedList" class meeting the interface supplied on Blackboard Create a ListMain class with a main routine to: 1a) Places the data into six separate Employee objects and creates a linked list to organize the objects 1b) Prints out the last name of the employee with the highest salary 1c) Removes Employee 101. 1d) Tells whether there is an employee with Emp_ID 123 and gives the last name if there is 1e) Tells whether there is an employee with Emp_ID 101 and gives the last name if there is 1f) Print out the last names of the all of the current employees
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
