Showing posts from September 6, 2016

JDK 4, 5, 6, 7, 8, 9 version features

                     Different Java version features (jdk 1.4 to 1.9)

Java 4 Assertion , NIO
Java 5  For-each loop, Varargs, Static Import, Autoboxing and Unboxing, Enum, Covariant Return Type, Annotation, Generics
Java 6 New collection interfaces includes Deque,NavigableSet,NavigableMap, JAXP, jdbc enhancement (driver auto loading, support for row id sql type, annotation based sql query)  
Java 7 Type inference, String in switch, try with resource, fork join framework, underscore in numeric literals, multiple exception in single catch block, java nio package, more precise re throw of exception
Java 8 
Lambda expressions,Functional interfaces,Functional Programming,Method references,Default methods,Stream API,Optional
Java 9 (March- 2017 launch) Java Module System, JShell