One of the most frequently asked questions in Java interviews is:
“What’s new in Java version X?”
While the value of this question is debatable, it’s still useful to know what major features were introduced in each Java release.
In this article, we’ll go through the key features added in every major Java version — from JDK 1.0 (Oak) to Java SE 7 (Dolphin).
Each version brought its own improvements, optimizations, and enhancements to the Java ecosystem.
🐬 Java SE 7 (Dolphin)
Release Date: July 28, 2011
Codename: Dolphin

🔹 New Features in Java SE 7
- Strings in switch Statements – Enables use of
Stringinswitchblocks. - Type Inference for Generic Instance Creation – Simplified generic object creation using the diamond (
<>) operator. - Multiple Exception Handling – Catch multiple exceptions in a single
catchblock. - Support for Dynamic Languages – Improved JVM support for scripting and dynamic languages.
- Try-with-Resources – Simplified resource management with automatic closing.
- New I/O (NIO.2) Package – Enhanced file and filesystem operations.
- Binary Literals and Underscores in Literals – Cleaner numeric literals.
- Diamond Syntax (
<>) – Simplifies generic type declarations. - Automatic null Handling – Improved compiler checks for null references.
🐎 Java SE 6 (Mustang)
Release Date: December 2006
Codename: Mustang

🔹 New Features in Java SE 6
- Scripting Language Support (JSR 223) – Integration for scripting engines like JavaScript.
- JDBC 4.0 API – Enhanced database connectivity and metadata discovery.
- Java Compiler API – Programmatic access to the compiler.
- Pluggable Annotation Processing API.
- Native Security Support – PKI, Java GSS, Kerberos, and LDAP improvements.
- Integrated Web Services (JAX-WS 2.0 and JAXB 2.0).
- Performance enhancements and numerous bug fixes.
🐅 J2SE 5.0 (Tiger)
Release Date: September 30, 2004
Codename: Tiger

🔹 New Features in J2SE 5.0
- Generics – Type-safe collections and code reusability.
- Enhanced for Loop (
for-each) – Cleaner iteration syntax. - Autoboxing and Unboxing – Automatic conversion between primitives and wrapper types.
- Typesafe Enums – Class-based enums.
- Varargs – Methods that accept variable arguments.
- Static Import – Import static members directly.
- Metadata (Annotations) – For declarative programming and frameworks.
- Instrumentation API – Enables profiling and monitoring capabilities.
🧙 J2SE 1.4 (Merlin)
Release Date: February 6, 2002
Codename: Merlin

🔹 New Features in J2SE 1.4
- XML Processing API (JAXP).
- Java Print Service API.
- Logging API.
- Java Web Start (JNLP).
- JDBC 3.0 API.
- Assertions (
assertkeyword). - Preferences API.
- Chained Exceptions.
- IPv6 Support.
- Regular Expressions (java.util.regex).
- Image I/O API.
🪶 J2SE 1.3 (Kestrel)
Release Date: May 8, 2000
Codename: Kestrel

🔹 New Features in J2SE 1.3
- Java Sound API.
- Jar Indexing.
- Major performance and stability improvements across libraries and JVM.
🧩 J2SE 1.2 (Playground)
Release Date: December 8, 1998
Codename: Playground
🔹 New Features in J2SE 1.2
- Collections Framework – The foundation of modern Java data structures.
- String Constant Pool Enhancements.
- Just-In-Time (JIT) Compiler.
- JAR Signer – For signing Java archives.
- Policy Tool – For managing system resource access.
- Java Foundation Classes (JFC) – Introduced Swing, Drag and Drop, and Java 2D.
- Java Plug-in for browsers.
- Advanced JDBC features: scrollable result sets, BLOBs, CLOBs, batch updates, and user-defined types.
- Audio Support in Applets.
☕ JDK 1.1
Release Date: February 19, 1997
🔹 New Features in JDK 1.1
- JDBC (Java Database Connectivity).
- Inner Classes.
- JavaBeans Component Model.
- RMI (Remote Method Invocation).
- Reflection API (introspection only).
🌳 JDK 1.0 (Oak)
Release Date: January 23, 1996
Codename: Oak
The first official release of Java. It introduced the fundamental principles that made Java revolutionary — platform independence, OOP, and a robust security model.
🎯 Conclusion
Each Java version added significant improvements to the language, runtime, and libraries — evolving Java into a modern, enterprise-ready, high-performance platform.
From Oak to Dolphin, Java’s journey showcases continuous innovation, stability, and backward compatibility — which is why it remains one of the most popular programming languages today.
📚 Source:
Oracle Java Documentation
javapapers.com
🧾 Tags: Java, Java Versions, Java History, Programming, Software Development, Interview Prep
📜 Meta Description:
A complete list of Java versions and their major features — from JDK 1.0 (Oak) to Java SE 7 (Dolphin). Perfect for interview prep or historical understanding of Java evolution.
