Assuming that I have a class named Class,
Class
And I would like to make a new ArrayList that it\'s values will be of type Class.
My question
You can use in Java 8
List myArray= new ArrayList<>();