Pregunta de entrevista de Tata Consultancy Services

Why java is platform independent?