1ArrayList<Integer> integerArray = new ArrayList<Integer>();
2ArrayList<String> integerArray = new ArrayList<String>();
3ArrayList<Double> integerArray = new ArrayList<Double>();
4//... keep replacing what is inside the <> with the appropriate
5//data type
6
1ArrayList<Integer> integerArray = new ArrayList<Integer>();
2ArrayList<String> stringArray = new ArrayList<String>();
3ArrayList<Double> doubleArray = new ArrayList<Double>();
4//... keep replacing what is inside the <> with the appropriate
5//data type
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