Infosys Interview Question

Techinal question related to java