
public class Computer{ private int computerNumber; private String computerBrand; public Computer(int, String); }
public class LinkedList{ public LinkedList(); public void insertAtFront(); public void insertAtBack(); public Object getFirst(); public Object getNext(); public Object removeFromFront(); public Object removeFromBack (); public boolen isEmpty(); }
The number in the following logical linked list represents Computer Number. 76(head) 98 54 68 52(tail)
Question i. Write a program segment to update the node ?54? to ?66?. The segment should also display the new contents of the linked list.
ii. Write a program segment to copy all ?Dell? computers to a new linked list named compDellLinkedList. ? HELP ME...kinda confused on how to add the number + with the computer name?are this using for loop or just add(76,"Dell")?