Diamond operator ‘<>’ was introduced in Java 7 to make instantiation of generic classes easier.
In Java 9 try-with-resources statement has been improved. Now if you already have final or effectively final resource you can use it in try-with-resources statement without need to declare a dummy variable.
Before Java 9 we could have underscore [ _ ] as a one character identifier.
Java 9 enhances the java collections and provides static methods for creating small immutable collection instances.