Infosys Interview Question

about java