LTM Limited interview question

Main changes in Java v8