Use equals() in Java to check for equality between two strings. Use equalsIgnoreCase() in Java to check for equality between two strings ignoring the case . String one = “qwerty”; String two = “Qwerty”; Both are equal, but the case is different.12 Ara 2018