Capgemini Interview Question

singleton class etc. simple core java