Pergunta de entrevista da empresa Accenture

How are two objects evaluated when .equals() is called on them?