I want to declare an ArrayList of type int.
ArrayList
int
Why does the following give me an error:
ArrayList list1 = new Array
int is not an Object and hence if list type is int, implementations of the list cannot be done.