(1)Generics:Provides compile-time (static) type safety for collections and eliminates
the need for most typecasts (type conversion).
(2)Metadata: Also called annotations, allows language
constructs such as classes and methods to be tagged with
additional data, which can then be processed by metadata-
(3)Autoboxing/unboxing: Automatic conversions between
primitive types (such as int) and primitive wrapper classes
(such as Integer).
(4)Enumerations: The enum keyword creates a typesafe,
ordered list of values (such as Day.MONDAY, Day.TUESDAY,
etc.). Previously this could only be achieved by non-
typesafe constant integers or manually constructed classes
(typesafe enum pattern).
(5)Swing: New skinnable look and feel, called synth.
Varargs: The last parameter of a method can now be declared
using a type name followed by three dots (e.g. void drawtext
(5)Enhanced 'for loop': The for loop syntax is extended
with special syntax for iterating over each member of
either an array or any Iterable..
For more information on JDK 1.5 visit to :http://www.roseindia.net/tutorialsearch/?t=Jdk%201.5