Pregunta de entrevista de Infosys

What is the difference between == and equals() in Java?