Pregunta de entrevista de Accenture Federal Services

What is the difference between .equals and ==?