Capgemini Engineering Interview Question

Core java basics