How do you check the two Character is equal or not?

Using Equals() The equals() method is used to check whether two char objects are equal or not. It returns true if both are equal else returns false .

Sizin İçin Seçtik  How do you change to lowercase in Java?

Leave a Reply

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

How do you check the two Character is equal or not?

Using Equals() The equals() method is used to check whether two char objects are equal or not. It returns true if both are equal else returns false .

Sizin İçin Seçtik  How do you write an equalsIgnoreCase in Java?

Leave a Reply

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