Pregunta de entrevista de Cognizant

Why is Java platform independent?