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 the difference between () and == in Java?

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  How many ways we can create string in Java?

Leave a Reply

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