Pregunta de entrevista de Cognizant

Difference between == and .equals() in java