Monday, 10 February 2014

Java Version History & Features

It is a quite common interview question that what new features are added in java version X?  The Java language has undergone several changes since JDK 1.0 as well as numerous additions of classes and packages to the standard library.Apart from adding new features, lots of bugs of previous release are also fixed in each release.
JDK  Alpha and Beta
  • It was release in 1995.
  • This version public release had highly unstable APIs
JDK 1.0
  • This version was released on January 23, 1996.
  • Codename was OAK
JDK 1.1
Thi version was released on February 19, 1997
New features of JDK 1.1
  1. JDBC
  2. RMI
  3. JavaBeans
  4. Inner Classes
J2SE 1.2
  • This version was released on December 8, 1998.
  • Codename was Playground
Features of J2SE 1.2
  1. Collection Framework
  2. JIT Compiler( Just In Time Compiler)
  3. Audio support in Applets
  4. Java plug-in
  5. The Swing graphical API was integrated into the core classes
J2SE 1.3
  • This version was released on May 8, 2000.
  • Codename was Kestrel
Features of J2SE 1.3
  1. Java Plateform Debugger Architecture
  2. Java Naming And Directory Interface (JNDI)
  3. Java Sound
J2SE 1.4
  • This version was released on February 6, 2002
  • Codename was Merlin.
Features of J2SE 1.4
  1. Integrated XML parser and XSLT processor
  2. logging API
  3. Regular expression
  4. Preferences API
  5. Assertions
  6. Chained Exception
  7. Image I/O API
J2SE 1.5
  • This version was released on September 30, 2004.
  • Codename was Tiger.
Features of J2SE 1.5
  1. Autoboxing/Unboxing
  2. Generics
  3. Varargs
  4. Enhanced ‘for each’ loop
  5. Metadata also called Annotations
  6. Static imports
Java SE 1.6
  • This version was released on December  11, 2006
  • Sun replaced the name “J2SE” with Java SE
  • Codename was Mustang.
Features of J2SE 1.6
  1. JDBC 4.0 support
  2. Java Compiler API: An API allowing a Java program to select and invoke a Java Compiler         programmatically.
  3. Support for pluggable annotations
  4. Scripting Language Support
  5. Improved Web Service support through JAX-WS
Java SE 7
  • This version was released on July 28, 2011
  • Codename was Dolphin
Features of Java SE 7
  1. JVM support for dynamic languages.
  2. String in switch statement
  3. Automatic resource management in try-statement
  4. Timsort is used to sort arrays instead of merge sort
  5. single catch block can handle more than one type of exception

No comments:

Post a Comment