Pergunta de entrevista da empresa E2open

What is the difference between == and .equals()?