Posts

Showing posts from November, 2013

New Features and Enhancements from JDK-5 to JDK-7

As Oracle is preparing for JDK-8 release with most awaited language features " lambda expressions ", I was thinking about the java language evolution since I started my IT career. New features released in JDK-5 were really impressive, and it created lots of interest in language again. JDK-5 (September 30, 2004) Generics Enhanced for Loop Autoboxing/Unboxing Typesafe Enums Varargs Static Import Metadata (Annotations) Collections Framework JDK-6 (December 11, 2006) Collections Framework Scripting I/O Support Monitoring and Management for the Java Platform JDK-7 (July 28, 2011) Binary Literals Strings in switch Statements The try-with-resources Statement Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking Underscores in Numeric Literals Type Inference for Generic Instance Creation IO and New IO Concurrency Utilities Over the past few years, java has become more relevant. It