Learn why to override toString(), equals() and hashCode() methods of Object class in Java

preview_player
Показать описание
Learn why we need to override tostring(), equals() and hashCode() methods of Object class of Java in classes created by us. Understand the importance of hash code object comparison in the context of HashSet and LinkedHashSet.

Рекомендации по теме
Комментарии
Автор

Finally, I understood it. I saw many videos but was not convinced by the explanation. The best video on this topic.

nemostarlight
Автор

You have explained it so wonderfully with example that it clears all the confusion. So far it was the best explanation.

poosingh
Автор

you made my Java learning easier, God Bless you sir, you are the best ever in java!

johnabednego
Автор

The best explanation I have found so far. Thank you.

yendrrek
Автор

Best explanation of the concept on internet.

nagatouzumaki
Автор

Best Explaination ❤️💥🔥
Very Nice Way Of Teaching 👑
God Bless You 🙌

shaikhmohmedaasim
Автор

Thanks! You solved my confusion! You are the Java master!

HenryLeu
Автор

Very well explained sir...thanku so much

jugadorrajpal
Автор

thank you so much sir best explanation

kvideos
Автор

best video ever 👍👍, wonderful explanation!

Imran-M-
Автор

Why is it necessary to override hascode method when we override equals method?

akshaychaugule