1import java.util.ArrayList;
2//create ArrayList
3ArrayList<String> arrayList = new ArrayList<String>();
1//Create the Arraylist variable: . Replace the T with the type of
2//data to be stored in the list.
3ArrayList<T> exampleList = new ArrayList<>();
4//You can now perform operations on this ArrayList