Infosys interview question

Oops spring boot core java