NiCE Interview Question

Q: why JAVA is platform Independent?