What is the difference between equalsIgnoreCase and compareToIgnoreCase?

The return value of compareToIgnoreCase() is an integer that represents if one string is equal , greater than or less than the other one. But equalsIgnoreCase() returns one boolean value representing if both strings are equal or not.

Sizin İçin Seçtik  Is Nokia out of business?

Leave a Reply

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