Question d’entretien chez Infosys

What are the differences between == and equal() in Java