Infosys interview question

java basics and spring boot annotations