Cognizant interview question

What is the difference between == and .equals() method