Infosys interview question

Questions about the Spring annotations