Deloitte interview question

Differnce between java and js ?