Goldman Sachs Interview Question

Differences between c++ and java?