Capgemini interview question

core java, spring