Question d’entretien chez Visa Inc.

Two sum with unique pair, why java is platform independent.