Question d’entretien chez Thales

Which should you use and why? ".equals()" or "==" string comparison in Java?