Perennial System Interview Question

Why is Java platform independent?