Respuesta :

public boolean equals(string s)

This statement is the Java Programming in which equals() method compares the original substance of the string