The only difference between them is that the equals() methods considers the case while equalsIgnoreCase() methods ignores the case during comparison. For e.g. The equals() method would return false if we compare the strings “TEXT” and “text” however equalsIgnoreCase() would return true.
Read moreIs equal ignore case?
Two strings are considered equal ignoring case if they are of the same length and corresponding characters in the two strings are equal ignoring case .
Read more