java create arraly list

Java
ArrayList<Integer> integerArray = new ArrayList<Integer>();
ArrayList<String> stringArray = new ArrayList<String>();
ArrayList<Double> doubleArray = new ArrayList<Double>();
//... keep replacing what is inside the <> with the appropriate
//data typeList<String> words = new ArrayList<String>();List<Integer> list = new ArrayList<>();ArrayList<Type> name = new ArrayList<Type>();
Source

Also in Java: