Thales interview question

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