watermark logo

Java interview question on hashcode() and equals() || Java collection interview questions on HASHMAP

5 Views
admin
admin
03 Dec 2019

This tutorial covers a very popular java interview question on hashcode and equals method in java.By asking this question interviewer checks
your understanding of java collections and wrapper class together.

So this tutorial covers few questions like :

1) how to stop duplicate entry to a hashmap with respect to a customized class
2) How the duplicate entry is getting rejected in a map with respect to a wrapper class.
3) Comparison between a customized class and a wrapper class map size.

So as we know the two most important java object class methods are hashcode and equals and they have a various impact when it comes to java collection.

Soon I am going to release another tutorial on java hashcode and equals method, where we are going to learn everything from scratch.To get a notification for that tutorial please subscribe to my channel by clicking the below link.

https://www.youtube.com/channe....l/UCpUYkSDJpHug-vfC5

Stay tuned and like my Facebook page for more.

https://www.facebook.com/seleniumexpress/


Music :
-----------
credits : -
1)
Adventures by A Himitsu https://soundcloud.com/a-himitsu
Creative Commons — Attribution 3.0 Unported— CC BY 3.0
http://creativecommons.org/licenses/b...
Music released by Argofox https://youtu.be/8BXNwnxaVQE
Music provided by Audio Library https://youtu.be/MkNeIUgNPQ8

2)
NCM Epic Music Ender Guney
https://www.youtube.com/c/NCMEpicMusic

-----

intro template :
wwww.youtube.com/Alexbau01

Show more

0 Comments Sort By

No comments found

Facebook Comments

Up next