Domanda di colloquio di Accenture

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