Infosys Interview Question

Why is Java a platform independent language?