1/5
AP CSA
int size()
Returns the number of elements in the list.
boolean add(E obj)
Appends obj to the end of the list; always returns true.
void add(int index, E obj)
Inserts obj at index. Shifts existing elements to the right.
E get(int index)
Returns the element at the specified index.
E set(int index)
Replaces the element at index with obj. Returns the old element.
E remove(int index)
Removes the element at index. Shifts elements to the left. Returns the removed element.