Publicis Sapient interview question

2. Difference between C++ and Java