Java 5 Tutorial
Java 5 was released in 2004 and was the first major language overhaul to the language since version 1.1 in 1997. This tutorial covers most of the Java 5 features relevant to programmers familiar with Java 1.4.x and earlier versions. This is not an exhaustive reference.
The tutorial is based on a book commissioned to pr3d4t0r that was never released due to a scheduling conflict between Manning and him. The contents of the tutorial were peer-reviewed by around 20 different people, including many ##java regulars like cheeser, jottinger, Essington, and piratepete. If possible, read each section in the same order as in the table of contents. The tutorial is written so that a feature that hasn't been introduced yet (i.e. autoboxing conversions) isn't used or mentioned in sections prior to its discussion.
Table of Contents
- Generics (parameterized types) draft
- Autoboxing conversions
- Enums (enumerated types)
- Enhanced 'for' statement
- Static imports
- Annotations
Tutorial (c) Copyright 2005, 2007 by Eugene Ciurana. All rights reserved.
(Note: This will soon change to Creative Commons.)