Infosys interview question

Java is plateform dependent or not