tringapps interview question

How java is platform independent?