Cognizant interview question

Difference between Java and JavaScript?