Question d’entretien chez Infosys

Why is Java a platform independent language?