EY interview question

Why is Java Platform Independent?