Pergunta de entrevista da empresa Morgan Stanley

what is the difference between c++ and java?