Infosys Interview Question

core java basics