Which Java versions introduced which language features?

Basel Shishani

Is there any comprehensive resource on the versions that the different language features were introduced in for Java? For example where I can type or search for 'static initialization blocks', and it can tell me that this feature is available in Java since version xx.

jdphenix

Below highlights a (non-comprehensive) list of changes between Java versions. Please add major changes to the language and platform.

Java 1.0 Press Release

  • Introductory version.

Java 1.1 Press Release

  • Nested classes
  • Object serialization
  • JavaBeans API
  • JDBC
  • Serialization & RMI
  • Unicode 2.0 support

Java 1.2 Press Release

  • strictfp
  • Java Security Model
  • JIT Compilation
  • Swing
  • Collections Framework

Java 1.3 Press Release

  • HotSpot VM
  • JNDI

Java 1.4 Press Release

  • assert statement
  • java.util.logging

Java 5 Press Release

  • Primitive autoboxing
  • Generic types
  • enum
  • Annotations
  • Enhanced for loop
  • Static imports
  • Formatted input and output
  • varargs

Java 6 Features and Enhancements

  • New collection interfaces

JDK 7 Features

  • try-with-resources
  • Multiple exception-type catch
  • diamond "operator"
  • switch on strings
  • Binary literals
  • Underscores in integral literals
  • Fork-Join Framework

JDK 8 Features

  • Lambda expressions
  • default & static methods on interfaces
  • Stream API
  • java.time API
  • Nashorn JavaScript engine

Also, to have a more detailed analysis of Java language changes with each version, one can go through Java_Version_History Wikipedia

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Java

Which Android versions run which Java versions?

From Dev

Which Android versions run which Java versions?

From Dev

Which features of Perl make it a functional programming language?

From Dev

Features in Java which are absent in scala

From Dev

Features in Java which are absent in scala

From Dev

Any way to programmatically determine which Java language features are available on current platform?

From Dev

Name which introduced by friend declaration

From Java

Which versions of Kotlin are compatible with which versions of the JDK?

From Dev

In which version of C was _Bool type introduced?

From Dev

Which version of X introduced feature Y?

From Dev

Which version of Windows introduced the "Span" wallpaper style?

From Dev

Which Kurento's features for Java developers are not available to Javascript developers?

From Dev

Installed two versions of Java, which one takes precedence?

From Dev

Multiple versions of "JDK", which "java.exe" file to execute?

From Dev

Which R versions contain which base functions

From Dev

Which string matching language is this?

From Dev

Which Language Attribute is Correct?

From Dev

Which programming language it is?

From Dev

Which string matching language is this?

From Dev

In which language/script this code is?

From Dev

Which HTTP features are different in HTTPS?

From Dev

Which versions modified a particular function

From Dev

Which versions of Ubuntu support ARM?

From Dev

Git: Trying to track which remote branches introduced files

From Dev

How can I query Mercurial for the the revision which introduced a given file?

From Dev

How to find out which changeset introduced the particular code (lines, block)

From Dev

How can I query Mercurial for the the revision which introduced a given file?

From Dev

Which version of Microsoft Office introduced the ability to edit and save to PDF files?

From Dev

FA for a language which forms an AGP

Related Related

  1. 1

    Which Android versions run which Java versions?

  2. 2

    Which Android versions run which Java versions?

  3. 3

    Which features of Perl make it a functional programming language?

  4. 4

    Features in Java which are absent in scala

  5. 5

    Features in Java which are absent in scala

  6. 6

    Any way to programmatically determine which Java language features are available on current platform?

  7. 7

    Name which introduced by friend declaration

  8. 8

    Which versions of Kotlin are compatible with which versions of the JDK?

  9. 9

    In which version of C was _Bool type introduced?

  10. 10

    Which version of X introduced feature Y?

  11. 11

    Which version of Windows introduced the "Span" wallpaper style?

  12. 12

    Which Kurento's features for Java developers are not available to Javascript developers?

  13. 13

    Installed two versions of Java, which one takes precedence?

  14. 14

    Multiple versions of "JDK", which "java.exe" file to execute?

  15. 15

    Which R versions contain which base functions

  16. 16

    Which string matching language is this?

  17. 17

    Which Language Attribute is Correct?

  18. 18

    Which programming language it is?

  19. 19

    Which string matching language is this?

  20. 20

    In which language/script this code is?

  21. 21

    Which HTTP features are different in HTTPS?

  22. 22

    Which versions modified a particular function

  23. 23

    Which versions of Ubuntu support ARM?

  24. 24

    Git: Trying to track which remote branches introduced files

  25. 25

    How can I query Mercurial for the the revision which introduced a given file?

  26. 26

    How to find out which changeset introduced the particular code (lines, block)

  27. 27

    How can I query Mercurial for the the revision which introduced a given file?

  28. 28

    Which version of Microsoft Office introduced the ability to edit and save to PDF files?

  29. 29

    FA for a language which forms an AGP

HotTag

Archive