What is equals () used for?

The equals() method compares two strings , and returns true if the strings are equal, and false if not.

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 *