Capgemini Engineering interview question

Basic concepts of java and spring architecture.