Infosys interview question

What is the advantages of Java