Pregunta de entrevista de Cognizant

Tell me why java is platform independent?