What are the new features of each version from java1 to java9 ?, Java1java9

Source: Internet
Author: User

What are the new features of each version from java1 to java9 ?, Java1java9

Every time a new version is released, you may ask, "What are the features of Java X ?" . In the following content, I have summarized the new features introduced in the main Java releases so far, this aims to highlight the release of each new feature. In addition to the features listed, each release has done a lot of work to optimize and fix bugs.

Java 9

See http://www.techug.com/post/java-9-features-with-examples.html

Java SE 8

Java 8 was released in March 14, 2014. The development code has been abandoned since Java 8, so there is no official development code since Java 8.

New features in Java SE 8

  • Lambda expressions
  • Pipelines and Streams
  • Date and Time APIs
  • Default Method
  • Type Annotation
  • Nashhorn JavaScript Engine
  • Concurrent counters
  • Parallel operations
  • Remove PermGen Error
  • TLS SNI
Java Version SE 7

The development code is doldolphin, which was released on February 28.

New features introduced include:

  • The switch statement block can use a string as the branch condition;
  • Application type inference when creating a generic object;
  • Multiple exceptions are captured in one statement block;
  • Supports dynamic languages;
  • Supports try-with-resources;
  • Introduce Java NIO.2 development kit;
  • The numeric value type can be expressed by a binary string, and the underline can be added to the string representation;
  • Diamond syntax;
  • Automatic Processing of null values.
Java Version SE 6

The development code is Mustang (Mustang), which was released on-12-11.

New features introduced include:

  • Supports scripting languages;
  • Introduce JDBC 4.0 API;
  • Introduce Java Compiler API;
  • Pluggable annotation;
  • Added support for Native PKI (Public Key Infrastructure), Java GSS (Generic Security Service), Kerberos, and LDAP (Lightweight Directory Access Protocol;
  • Inherit Web Services;
  • Many optimizations have been made.
Java versionse 5.0

The development code is Tiger (Tiger), which was released from.

New features introduced include:

  • Introduce generic;
  • Enhance the loop and use the iteration method;
  • Automatic packing and automatic unpacking;
  • Type-safe enumeration;
  • Variable parameters;
  • Static introduction;
  • Metadata (annotation );
  • Introduce Instrumentation.
J2SE Version 1.4

The development code is Merlin (), which was released on April 6, (released under JCP for the first time ).

New features introduced include:

  • XML processing;
  • Java printing service;
  • Introduce the Logging API;
  • Introduce Java Web Start;
  • Introduce JDBC 3.0 API;
  • Introduce assertions;
  • Introduce Preferences API;
  • Introduced chain exception handling;
  • IPv6 is supported;
  • Regular Expressions are supported;
  • Introduce the Image I/O slot machine API.
J2SE Version 1.3

The development code is Kestrel, which was released on.

New features introduced include:

  • Introduce Java Sound API;
  • Jar file index;
  • Java has been greatly optimized and enhanced.
J2SE Version 1.2

The development code is Playground, which is released on.

New features introduced include:

  • Introduce the Collection framework;
  • Memory ing for string constants;
  • Introduce the JIT (Just In Time) compiler;
  • Introduce digital signature for packaged Java files;
  • Introduce policy tools to control authorized access to system resources;
  • Introduce JFC (Java Foundation Classes), including Swing 1.0, drag and drop, and Java 2D class libraries;
  • Introduce Java Plug-ins;
  • Introduce the scrollable result set, BLOB, CLOB, batch update, and user-defined type in JDBC;
  • Add sound support in the Applet.
Jdks Version 1.1

Released on September 19.

New features introduced include:

  • Introduce JDBC (Java Database Connectivity );
  • Internal classes are supported;
  • Introduce Java Bean;
  • Introduce RMI (Remote Method Invocation );
  • Introduce reflection (for internal use only ).
Jdks Version 1.0

The development code is Oak (Oak tree), which is released from.

JAVA Learning Group 669823128

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.