Respuesta :

Answer:

c. String

Explanation:

The equals method in java String class takes an object reference as a parameter. We can compare two Strings with the help of equals method of the String class. The equals() method of the java String class compares the given strings based on the content of the string.

Use of the String equals method:-

if (stringOne> stringTwo) it will return a positive value.

if both of the strings are equal lexicographically  means

(stringOne == stringTwo) it will return 0.

if (stringOne < stringTwo) it will return a negative value.