Morgan Stanley interview question

What is the difference bet C++ and Java?