Question d’entretien chez FactSet

Explain how C++ and Java are different.