Sunday, June 3, 2018

What is new in Java

JavaSE 11 Features

  • Coming soon....
JavaSE 10 Features

  • Local Variable Type Inference
  • Time-Based Release Versioning
  • Garbage-Collector Interface
  • Parallel Full GC for G1
  • Heap Allocation on Alternative Memory Device
  • Consolidate the JDk Forest Into a Single Repository
  • Root Certificates
  • Experimental Java-Based JIT Compiler
  • Thread-Local Handshakes
  • Remove the Native-Header Generation Tool

JavaSE 9 Features

  • The Java platform Module system 
  • Linking
  • JShell: the interactive Java REPL
  • Improved Javadoc
  • Collection Factory Methods
  • Stream API Improvements
  • Private Interface Method
  • HTTP/2
  • Multi Release JARs


JavaSE 8 Features

The important features of JavaSE 8 are lambda expressions, methods references, default methods, functional interface, java 8 date/time, stream classes etc.

JavaSE 7 Features

The important features of JavaSE 7 are try with resource, catching multiple exceptions etc.
  • String in switch statement (Java 7)
  • Binary Literals (Java 7)
  • The try-with-resources (Java 7)
  • Caching Multiple Exceptions by single catch (Java 7)
  • Underscores in Numeric Literals (Java 7)


JavaSE 6 Features

The important feature of JavaSE 6 is premain method (also known as instrumentation).
  • Instrumentation (premain method) (Java 6)

J2SE 5 Features

The important features of J2SE 5 are generics and assertions. Others are auto-boxing, enum, var-args, static import, for-each loop (enhanced for loop etc.
J2SE 4 Features

The important feature of J2SE 4 is assertions. It is used for testing.

No comments:

Post a Comment

5 Strategies for Getting More Work Done in Less Time

Summary.    You’ve got more to do than could possibly get done with your current work style. You’ve prioritized. You’ve planned. You’ve dele...