Infosys interview question

basis question in String, Spring and maven