4
Q:

java create arraly list

List<String> words = new ArrayList<String>();
2
ArrayList<Type> name = new ArrayList<Type>();
3
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 type
2
List<Integer> list = new ArrayList<>();
0

New to Communities?

Join the community