IBM interview question

How Java can be used in multiple platforms,