Cognizant Interview Question

what is the difference between c + + and Java