Capgemini interview question

what is difference between java and SQL?