Verizon interview question

To explain the difference between Java and C++