XYZ (Turkey) interview question

Why java is platform independent