(Solved) : 43 35 Pts Modify Program Sortedarrayaccessiva Array Employee Give Class Name Sortedarrayem Q44084393 . . .

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. Show transcribed image text 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.
Expert Answer
Answer to 4.3 (35 pts) Modify program sortedArrayAccessiva so that the array is of Employee Give this class the name sortedArrayEm…
OR