Xoriant Interview Question

Difference between java and c++?