Domanda di colloquio di Infosys

Technical question on java and some real time examples