Infosys interview question

Java, Spring Boot Basic questions