Pergunta de entrevista da empresa Northrop Grumman

When would using Java be more beneficial than using C++?