Infosys interview question

Based ok spring boot java