Infosys interview question

Spring boot, java 8, core java