Each version of Java add some feature to Java Core eg. Generic in Java 5, Try With resource in Java 7 or Lambda Expersion in Java 8 and more!

This is a list of Java Version Features:

  • Java 8 (Don't have official code name!, released on 18 March 2014):
    • Lambda Expressions
    • Pipelines and Streams
    • Date and Time API
    • Default Methods
    • Type annotations and repeating annotations
    • Nashhorn JavaScript Engine
    • Concurrent Accumulators
    • Parallel operations
    • PermGen Error Removed
    • TLS SNI
    • Method References
    • Functional Interfaces
    • Base64 Encode Decode
    • forEach method
    • Collectors
    • StringJoiner
    • Optional class
    • Type Inference
    • Method Parameter Reflection
    • Java JDBC Improvements
    • Java IO Improvement
    • Java Concurrency Improvement
  • Java 7 (code name: Dolfin, released on 28 July 2011):
    • Strings in switch Statement
    • Type Inference for Generic Instance Creation
    • Multiple Exception Handling
    • Support for Dynamic Languages
    • Try with Resources
    • Java nio Package
    • Binary Literals, underscore in literals
    • Diamond Syntax
    • Automatic null Handling
    • Underscores in Numeric
  • Java 6 (code Name: Mustang, 11 December 2006):
    • Scripting Language Support
    • JDBC 4.0 API
    • Java Compiler API
    • Pluggable Annotations
    • Native PKI, Java GSS, Kerberos and LDAP support.
    • Integrated Web Services.
    • Lot more enhancements.
  • Java 5 (code name: Tiger, released on 30 September 2004):
    • Generics
    • Enhanced for Loop
    • Autoboxing/Unboxing
    • Typesafe Enums
    • Varargs
    • Static Import
    • Metadata (Annotations)
    • Instrumentation
    • Enum
  • Java 4 (code name: Merlin, released on 6 February 2002):
    • XML Processing
    • Java Print Service
    • Logging API
    • Java Web Start
    • JDBC 3.0 API
    • Assertions
    • Preferences API
    • Chained Exception
    • IPv6 Support
    • Regular Expressions
    • Image I/O API
  • Java 3 (code name: Kestrel, released on 8 May 2000):
    • Java Sound
    • Jar Indexing
    • A huge list of enhancements in almost all the java area.
  • Java 2 (code name: Playground, released on 8 December 1998):
    • Collections framework.
    • Java String memory map for constants.
    • Just In Time (JIT) compiler.
    • Jar Signer for signing Java ARchive (JAR) files.
    • Policy Tool for granting access to system resources.
    • Java Foundation Classes (JFC) which consists of Swing 1.0, Drag and Drop, and Java 2D class libraries.
    • Java Plug-in
    • Scrollable result sets, BLOB, CLOB, batch update, user-defined types in JDBC.
    • Audio support in Applets
  • Java 1.1 (code name: - , released on 19 February 1997)
    • JDBC (Java Database Connectivity)
    • Inner Classes
    • Java Beans
    • RMI (Remote Method Invocation)
    • Reflection (introspection only)
  • Java 1 (code name: Oak, released on 23 January 1996)

 

Reosurce Link:

  1. https://en.wikipedia.org/wiki/Java_version_history
  2. http://javapapers.com/core-java/java-features-and-history/
  3. https://www.javatpoint.com/New-features-in-java
Content Category