Domanda di colloquio di Tata Consultancy Services

Why java is platform independent?