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  What is string equal?

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  Is charAt a string method?

Leave a Reply

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