Java Tutorial - equals() vs. hashcode()

preview_player
Показать описание
Just a quick demo for how to use equals() and hashcode().
Рекомендации по теме
Комментарии
Автор

After watching several vids on equals(), I finally understand why you would want to override the method with your example of onboarding a new employee with identical characteristics. I sincerely appreciate the tutorial!

brinderdhaliwal
Автор

Not gonna lie - that was the best explanation, with best examples that I've found for this concert. Thank you David!

michal
Автор

Finally! I understand how this two methods work. Thank you !

licht
Автор

short but great explanation, thanks David

momolosi
Автор

It helped me a lot to solve my assignment, THANK YOU

yasminfatahi
Автор

would you please explain why we type casted in line 43? Thank you.

mrp-ii
visit shbcf.ru