HCLTech interview question

Basic of core java, spring