This section explains some common shortcomings associated with non-generic code.
Specifically, it shows how certain kinds of bugs will crash an application at runtime, since they are not detectable by the compiler.
This section explains generic type declarations, type variables, type parameters, and type arguments. It also describes the naming conventions that are specific to generics.
Your use of this page and all the material on pages under "The Java Tutorials" banner,
and all the material on pages under "The Java Tutorials" banner is subject to the Java SE Tutorial Copyright
and License.
Additionally, any example code contained in any of these Java
Tutorials pages is licensed under the
Code
Sample License.