Java String equals() Method The equals() method compares two strings, and returns true if the strings are equal, and false if not .
Java String equals() Method The equals() method compares two strings, and returns true if the strings are equal, and false if not .