ArrayList remove Quiz

public class ArrayList<E> implements List<E> {
  /** Holds the items in the list. */
  private E[] data;
  /** The size of the list. */
  private int size;

  public E remove(int index) {
    // Your code goes here.
  }
}

The method must remove the item at the given index.

Time remaining: