Question d’entretien chez Anonymous

Can you explain the difference between == and .equals() in Java, and when to use each?