Infosys interview question

Java Java 8 Spring boot