Accenture interview question

Why java ia platform independent