Java 2 Platform Standard Edition 5.0 (J2SE 5.0 or Java 5 or JDK 1.5) came up with a full bunch of significant new features which are very useful for java developers as well as for JVM in order to improve performance. In this tutorial, you can find some important J2SE 5.0 new features added in JDK 1.5 which are part of day-to-day java coding.
List of most commonly used Java 5 new features:
- Generics for Collections
- Enhanced for Loop (for-each loop)
- Autoboxing/Unboxing
- Typesafe Enums
- Varargs/Vargs (Variable-length Argument Lists)
- Static Import
- Metadata (Annotations)
- Formatting
- Scanner

