Develop code that makes proper use of type parameters in class/interface declarations, instance variables, method arguments, and return types; and write generic methods or methods that make use of wildcard types and understand the similarities and differences between these two approaches.
Supplementary Objectives
Distinguishing between generic types and parameterized types
Identifying contexts where unchecked warnings can be issued, and why they signal potential problems with type-safety
Using bounded type parameters
Understanding type capture
Understanding implications of type erasure
Understanding implications for overloading and overriding
Understanding reifiable types, and where they are required
Understanding implications and restrictions for instance tests, casting, arrays, varargs, and exception handling
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.