How do you write an equalsIgnoreCase in Java?

The equalsIgnoreCase() method of the String class compares two strings irrespective of the case (lower or upper) of the string. This method returns a boolean value, true if the argument is not null and represents an equivalent String ignoring case, else false. Syntax: str2. 10 Kas 2021

Sizin İçin Seçtik  Does Airtel have 5G in Chennai?

Leave a Reply

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

How do you write an equalsIgnoreCase in Java?

The equalsIgnoreCase() method of the String class compares two strings irrespective of the case (lower or upper) of the string. This method returns a boolean value, true if the argument is not null and represents an equivalent String ignoring case, else false. Syntax: str2. 10 Kas 2021

Sizin İçin Seçtik  How do you check if a string contains a string in Java?

Leave a Reply

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