HCL Technologies interview question

java technical related to java8