DRAFT
Observed
Type parameters of generic types can be instantiated with primitive types
Type parameters of generic types need to be instantiated with reference types
One can only use reference types. Primitive types can’t be used as type arguments.
So, ArrayList<Integer>
is ok, but ArrayList<int>
is wrong.