Pergunta de entrevista da empresa Goldman Sachs

What is the difference between Java and C++?