Is equal method in Object class?

equals(Object obj) is the method of Object class . This method is used to compare the given objects. It is suggested to override equals(Object obj) method to get our own equality condition on Objects.

Sizin İçin Seçtik  Is Dart easy to learn for beginners?

Leave a Reply

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