Some examples for the features introduced in Java 8