Morgan Stanley interview question

difference between C++ and java basic java questions