Infosys interview question

about Core java and Springs