How to use HashMaps in Java || Hashmap in java with example program - Part 5
Java HashMap class implements the map interface by using a hashtable. It inherits AbstractMap class and implements Map interface.
The important points about Java HashMap class are:
A HashMap contains values based on the key.
It contains only unique elements.
It may have one null key and multiple null values.
It maintains no order.
hashmap is non-synchronised -- not thread safe
It gives Concurrent modification exception -- in case of Fail - Fast condition
~~~Full Java Collections API Series: https://www.youtube.com/playli....st?list=PLFGoYjJG_fq
~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Nave....en%20AutomationLabs?
Follow me on my Facebook Page:
https://www.facebook.com/groups/naveenqtpexpert/
Let's join our Automation community for some amazing knowledge sharing and group discussion:
https://t.me/joinchat/COJqZQ4enmEt4JACKLNLUg Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
https://www.youtube.com/c/Nave....en%20AutomationLabs?
Follow me on my Facebook Page:
https://www.facebook.com/groups/naveenqtpexpert/
Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
https://t.me/joinchat/COJqZUPB02r5sB73YMdXEw
Paid courses (Recorded) videos:
Java & Selenium Course: http://www.naveenautomationlab....s.com/p/course-conte
API Course: http://www.naveenautomationlab....s.com/p/syllabus-cou
-
Category
No comments found