all advance java questions, Collections (Hashmaps, Concurrent Hashmaps, List,)
Interview Answers
Anonymous
10 Aug 2020
What were the questions?
Anonymous
30 Aug 2020
ConcurrentHashMap allows concurrent threads to read the value without locking at all.
This was introduced to improve performance.
It allows concurrent access to the map. Part of the map called segment gets locked while adding or updating the map.