What is equals and equalsIgnoreCase in Java?

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

Sizin İçin Seçtik  What does it mean to ignore case in java?

Leave a Reply

Your email address will not be published. Required fields are marked *