Netcracker Technology interview question

Qual a diferença entre .equals e ==