Infosys interview question

Java 8 and Spring Boot questions