LinkedList add Quiz

public class LinkedList<E> implements List<E> {
  /** Holds the head of the list. */
  private LinkedNode<E> head;
  /** The size of the list. */
  private int size;

  public E add(E item) {
    // Your code goes here.
  }
}

The method must add the item to the end of the list.

Time remaining: