The ArrayList class, java.util.ArrayList, provides the following methods in addition to the List methods:
ArrayList
java.util.ArrayList
void add(int index, Object x) Object remove(int index)
The basics of using the ArrayList class were explained in Lesson A15, ArrayList.