Infosys interview question

Basics of Java and spring boot