Example of new language features introduced in Java 7.