General Atomics interview question

Difference between C++ and JAva