Annotation in Java are enhanced to a large extent since Java 5. This post explains different aspects of annotions in Java along with examples.
Amongst many other new features, Java static import is an important feature introduced in Java 5. Here are details of it along with code examples.
Java 5 provides many important features. One of them that can simplify Java usage is Java varargs. Details of this feature are explained in this post.
Java enums are a powerfull feature to handle constants. This post explains different aspects of Java enums with code examples.
Java autoboxing feature is introduced in Java 5. This post explains different aspects of java autoboxing with code examples.
Java for each loop makes for loop in java elegent. In this post we discuss different aspects of it with code examples along with advantages and limitations.
Java 5, which is tiger release, have many new concepts and features. Here is Java 5 tutorial that will provide you code examples of java 5 along with Java 5 concepts.