Infosys interview question

java basic questions and new features of java 8