The equalsIgnoreCase() method compares two strings, ignoring lower case and upper case differences . This method returns true if the strings are equal, and false if not.
What does equalsIgnoreCase do in Java?
The equalsIgnoreCase() method compares two strings, ignoring lower case and upper case differences . This method returns true if the strings are equal, and false if not.