Question: P1 is below package p6_linkedList; import java.util.*; public class LinkedList { public Node header; public LinkedList() { header = null; } public final Node Search(int
(Programming) Use p2-1 linkedListClass as a reference, add the following operations in the class LinkedList Find the average data values of the linked list. Find the item with largest key, and then delete the node. Test ALL operations in the Main method. (Also display the average of the data values of the linked list, the largest key, the linked list before and after deleting the node with the largest key 6. 7. (Programming) Modify p2-1 SingleLinedList programs so that it handles employee objects. Make your program menu-driven. The class employee is the same as in Assignment 2: laport Java.util.scaner pubiic class esployee public int Ld public String nane public double salary public vold Input O Systen.out.printin( "Enter nane:) nane- new Scanner(Systos.in) nextLine Systes.out.printin("Enter 0 d-Integer parsetat (new sanner (Systes.In) nextin) Systee.out.printinf Enter Salary alary Double.parseboublenow Scanner(Syston.1n).nextl)) public vold Output Systen.out.printane: iSs, 10: 25, Grade: ass"nane, 10, salary) blic String tostring
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
