Domanda di colloquio di Infosys

Question was on Java programming