What does .equals mean in Java?

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

Sizin İçin Seçtik  What is a non trivial destructor?

Leave a Reply

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

What does equals () mean in Java?

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

Sizin İçin Seçtik  What happens if we override equals?

Leave a Reply

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