November 2012
Intermediate to advanced
1008 pages
27h 3m
English
In this chapter
• Defining a Simple Generic Class
• Generic Code and the Virtual Machine
• Restrictions and Limitations
Generic classes constitute the most significant change in the Java programming language since the 1.0 release. The addition of generics to Java SE 5.0 was the result of one of the first Java Specification Requests, JSR 14, that was formulated in 1999. The expert group spent about five years on specifications and test implementations.
Generic classes are desirable because they let you write code that is safer and easier to read than code littered ...
Read now
Unlock full access