Goldman Sachs interview question

Differences between c++ and java?