Cognizant interview question

database difference between c and java