Question d’entretien chez Cognizant

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