You are not allowed to use any data structure besides a custom…

Question Answered step-by-step You are not allowed to use any data structure besides a custom… You are not allowed to use any data structure besides a custom built linked list. This should consist ONLY of a node class. You should not be creating a secondary class to handle the data structure. The node class is as follows.  public class Node {private E item;private Node next;public Node(E item, Node next) { this.item = item; this.next = next;}public E getItem() { return item;}public void setItem(E item) { this.item = item;}public Node getNext() { return next;}public void setNext(Node next) { this.next = next;}} * Problem: Make a Linked List of Integers, and ask the user for input. The program should be able to take any input without crashing. Add all integers you receive to the Linked List, until the user enters STOP. Then, print the contents of the Linked List.public Node addInts() { return null; // Return the start node of your linked list} Computer Science Engineering & Technology Java Programming JAVA PROGR 1083 Share QuestionEmailCopy link Comments (0)