MSD interview question

Java 8 and 7 differences