equals() in java || Create your custom equals method || The IMPACT of equals and hashcode || Part 2

Selenium Express
Selenium Express
30.4 هزار بار بازدید - 5 سال پیش - equals method in java ///
equals method in java ///  In this video we will be only concentrating on the equals() method and we will learn the importance of overriding an equals().

So Below are the topics that we will be covering in this tutorial :

1) What is a == operator?

2)What is object class equals() method does?

3)What is the String class equals method does?

4)Why do we need to override the equals method to our own class?

5) Creating a custom equals method from the scratch(with java debugging)



Note that Java's equals method plays a very important role in collection framework and especially in a hash-based collection like HashSet/ hashmap/hashtable etc.



So having a good understanding of the hashcode method and equals method will make us a better programmer today.

Once we understand the equals(), we will understand the problem without hashcode and equals in the next video. So if you are a beginner and you are

a java learner then this tutorial for you and you learn everything steps by step.



For more videos, consider subscribing by clicking the link below.

@seleniumexpress



Stay tuned and like my Facebook page for more.

Facebook: seleniumexpress


Music :
-----------
credits : -
(intro)
Adventures by A Himitsu SoundCloud: a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox A Himitsu - Adventures [Royalty Free ...
Music provided by Audio Library Adventures – A Himitsu (No Copyright ...

intro template :
alexbau01
5 سال پیش در تاریخ 1397/12/25 منتشر شده است.
30,478 بـار بازدید شده
... بیشتر