Java New Features History
Generics
Annotations(Metadata)
Autoboxing/Unboxing
Typesafe Enums
Enhanced for Loop
Varargs
Static Import
Language Changes
Strings in switch
Multiple Exception Handling
Elvis Operator
Standard example:
String s = mayBeNull?.toString() ?: "null";
Auto-unboxing example:
Integer ival = ...; // may be null
int i = ival ?: -1; // no NPE from unboxing
JSR 292: Support for dynamically-typed languages
NIO.2
TLS 1.2
JDBC 4.1
Support Unicode 6.0
New File I/O API
Asynchronous I/0