Capgemini Interview Question

Difference between C++ and java SQL queries