The new main features on the way (and already available in 1.5 beta, Tiger) are:
- An enhanced "for loop" that would allow easier
iteration over collections.
- An automatic conversion mechanism to convert primitive
types to their corresponding wrappers and vice versa.
- A new syntax for an enumerated type
- A static import.
- Variable-Arity Methods.
The linked article elaborates on the features. Java Language Enhancements: JavaBoutique
Comments
Re: More on the new Java features: JavaBoutique
There are of course more new features as well. The generics thing is really cool for example and not mentioned by JavaBoutique.
complete info here - http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html