What are new java features in java version 7 or 8? These are pretty much frequently asked questions in java interviews. In this page, I listing down all JDK changes from JDK 1.x to Java SE 8, sequentially. Though I have tried to cover as much as information I can gather, though if you know something which I missed below, please let me know and I will add that information.
Java SE 9 Features
Possible Release Date: September 21, 2017. Please see the updated release info here.
Proposed features are:
o Support for multi-gigabyte heaps
o Better native code integration
o Self-tuning JVM
o Java Module System
o Money and Currency API
o jshell: The Java Shell
o Automatic parallelization
Java SE 8 Features
Release Date: March 18, 2014
Code name culture dropped. Included features were:
o Lambda expression support in APIs
o Functional interface and default methods
o Optionals
o Nashorn – JavaScript runtime which allows developers to embed JavaScript code within applications
o Annotation on Java Types
o Unsigned Integer Arithmetic
o Repeating annotations
o New Date and Time API
o Statically-linked JNI libraries
o Launch JavaFX applications from jar files
o Remove the permanent generation from GC
Java SE 7 Features
Release Date: July 28, 2011
This release was called “Dolphin”. Included features were:
o JVM support for dynamic languages
o Compressed 64-bit pointers
o Strings in switch
o Automatic resource management in try-statement
o The diamond operator
o Simplified varargs method declaration
o Binary integer literals
o Underscores in numeric literals
o Improved exception handling
o ForkJoin Framework
o NIO 2.0 having support for multiple file systems, file metadata and symbolic links
o WatchService
o Timsort is used to sort collections and arrays of objects instead of merge sort
o APIs for the graphics features
o Support for new network protocols, including SCTP and Sockets Direct Protocol
Java SE 6 Features
Release Date: December 11, 2006
This release was called “Mustang”. Sun dropped the “.0” from the version number and version became Java SE 6. Included features were:
o Scripting Language Support
o Performance improvements
o JAX-WS
o JDBC 4.0
o Java Compiler API
o JAXB 2.0 and StAX parser
o Pluggable annotations
o New GC algorithms
J2SE 5.0 Features
Release Date: September 30, 2004
This release was called “Tiger”. Most of the features, which are asked in java interviews, were added in this release.
Version was also called 5.0 rather than 1.5. Included features are listed down below:
o Generics
o Annotations
o Autoboxing/unboxing
o Enumerations
o Varargs
o Enhanced for each loop
o Static imports
o New concurrency utilities in java.util.concurrent
o Scanner class for parsing data from various input streams and buffers.
J2SE 1.4 Features
Release Date: February 6, 2002
This release was called “Merlin”. Included features were:
o assert keyword
o Regular expressions
o Exception chaining
o Internet Protocol version 6 (IPv6) support
o New I/O; NIO
o Logging API
o Image I/O API
o Integrated XML parser and XSLT processor (JAXP)
o Integrated security and cryptography extensions (JCE, JSSE, JAAS)
o Java Web Start
o Preferences API (java.util.prefs)
J2SE 1.3 Features
Release Date: May 8, 2000
This release was called “Kestrel”. Included features were:
o HotSpot JVM
o Java Naming and Directory Interface (JNDI)
o Java Platform Debugger Architecture (JPDA)
o JavaSound
o Synthetic proxy classes
J2SE 1.2 Features
Release Date: December 8, 1998
This release was called “Playground”. This was a major release in terms of number of classes added (almost trippled the size). “J2SE” term was introduced to distinguish the code platform from J2EE and J2ME. Included features were:
o strictfp keyword
o Swing graphical API
o Sun’s JVM was equipped with a JIT compiler for the first time
o Java plug-in
o Collections framework
JDK 1 Features
Release Date: January 23, 1996
This was the initial release and was originally called Oak. This had very unstable APIs and one java web browser named WebRunner.
The first stable version, JDK 1.0.2, was called Java 1.
On February 19, 1997, JDK 1.1 was released havind a list of big features such as:
o AWT event model
o Inner classes
o JavaBeans
o JDBC
o RMI
o Reflection which supported Introspection only, no modification at runtime was possible.
o JIT (Just In Time) compiler for Windows
Again, feel free to suggest any java feature in any java version which I missed in above lists.
Happy Learning!!
Congratulations @afjal.softcare! You have completed some achievement on Steemit and have been rewarded with new badge(s) :
Award for the number of upvotes
Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here
If you no longer want to receive notifications, reply to this comment with the word
STOP
thank you
important......
thanks
Hmm
nice post
Thanks