Question: 4.3 (35 pts) Modify program sortedArrayAccessiva so that the array is of Employee Give this class the name sortedArrayEmployee.java. The sorting key is the employ

 4.3 (35 pts) Modify program sortedArrayAccessiva so that the array is
of Employee Give this class the name sortedArrayEmployee.java. The sorting key is

4.3 (35 pts) Modify program sortedArrayAccessiva so that the array is of Employee Give this class the name sortedArrayEmployee.java. The sorting key is the employ id. The class Employee is given blow: import java.util.Sterne lists this public peat ft. pusti d o public void the Dystem.out.println terate on = new Scannersystem in nextLine System.out.printint Ente- Inti t ystenis). Syste... Eser Sort 10 Double.Parseboblerex Scanner(System.in.nextLine public void Output : System.out.print("ones. ass. de Lassan.id o pusistor PERUM g .Hornet (). 1: (a). Grade: (a .nare, id, tary: Add a testing class that can test all the operations defined in the sortedArrayEmploye class Modify the sortedArrayEmployee class by adding a method that find the employee why has the highest salary. (Note, your code must return the employee, not his her salary) Modify the sortedArrayEmployee class by adding a method that find the average salary of all employees. Make your testing menu-driven. Submit All code and running screenshots 4.3 (35 pts) Modify program sorted ArranAccess.java so tha Give this class the name sortedArrayEmployee.java. Th id. The class Employee is given blow: import job.util.Scanner: public class Employee public ft di public String name: puolit double salary: public void Input) System.out.println("Enter rate ); name = new Scanner System.in.nextLine(); System.out.println("Enter 10: 6 = Integer.parstine Scanner(System.in).nextLine(): System.out.println("Enter Salary : selary = double parsebouble new Scanner(System.in.next.in public void output) System.out.printf("re: Sits, to: tats, Grade: nam id, slay public String tostring(1) return Steing. Format("trane (s). 10: (), Grade: (a)". nane, id, saiary: Add a testing class that can test all the operations defined i class

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!