previous
|
start
|
next
Type Variables
Can be instantiated with class or interface types
ArrayList<BankAccount>
ArrayList<Measurable>
Cannot use a primitive type as a type variable
ArrayList<double> // Wrong!
Use corresponding wrapper class instead
ArrayList<Double>
previous
|
start
|
next