Question d’entretien chez Infosys

they give snnippet of java code