DRAFT
PrimitiveTypeParameter
Misconception:
A generic type like ArrayList<T>
can be instantiated by assigning any type, including a primitive type, to the type parameter T
. So one can define an array list of ints with ArrayList<int>
.