LTM Limited interview question

Java basics and spring boot