Oracle interview question

Explain platform independence in Java.