Experis India interview question

Why Java platform independent ?