Infosys interview question

Core Java and springboot questions