AllianceBernstein interview question

Is Java considered platform independent? Why?