 |
Brian Goetz
New language features in JDK 5.0
|
| Audience |
Experienced Java developers |
| Duration |
1 day |
| Structure |
Lecture, demonstration, and hands-on labs |
| Students
will |
- Learn the new language features in JDK 5.0 -- generic classes,
enumerations, autoboxing, syntax enhancements, printf, varargs, and
metadata annotations
- Learn the major enhancements to the Java class libraries, including
the new concurrency package
|
| Overview |
JDK 5.0 is a major upgrade to the Java language, with a
number of new language features, the most prominent and important being
the addition of generic types and metadata annotations.
This one-day class will help bring experienced developers up to speed
quickly on what’s new in JDK 5.0, outlining the benefits and pitfalls of
the new language and class library features. |
|
|
| COURSE
OUTLINE |
- Generics
- Java generics compared to C++ templates
- Extensions to the Java type system
- Generics in the Java class library -- Collections,
Class<T>, Enum<T>
- Restrictions on generic types
- Under the hood -- implementation details
- Convariant
return types
- Enumerations
- Autoboxing
- Variable-length
argument lists
- Concurrency
improvements
- Metadata
annotations
|
|
|
|
|