Cognizant interview question

Q. What is the difference between C and Java.