What is use of equals () in Java?

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

Sizin İçin Seçtik  What equals () method must you override when defining a class of objects?

Leave a Reply

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