All quizzes
JavaCoreFill the blank

To correctly compare the *contents* of two objects (such as two String or Integer values) rather than their identity, you should call the ____ method instead of using ==.

String a = getName();
String b = "admin";
if (a.____(b)) { /* names match */ }