Hexaware Technologies interview question

Difference between java and c