Answer: c. the equals method
Step-by-step explanation:
There are more than one comparison that could be made about string objects. Hence, depending on the comparison we want to make, we could be in need of the == operator, equal() or the Stringcompare method. For the question posed above, we want to kno of two string objects containa the same string, hence we are concerned about comparing the content of each string. For this purpose, we make use of the equal(). In the case of making comparison about string reference, we use the == method while the StringCompare method comes in handy while making alphabetical or lexicographic comparison.