Sunday, May 5, 2019

How ConcurrentHashMap Works Internally

Q- How ConcurrentHashMap Works Internally in java?


Q-How ConcurrentHashMap is fail safe?
Q-When should we use ConcurrentHashMap?
Q-How is ConcurrentHashMap thread safe?
Q-Why do we need ConcurrentHashMap?
Q-What is difference between fail fast and fail safe?
Q-Can ConcurrentHashMap throws ConcurrentModificationException?
Q-Does ConcurrentHashMap allow null?
Q-Why is null not allowed in ConcurrentHashMap?
Q-What is the difference between synchronized HashMap and ConcurrentHashMap?

Q-How do you prevent concurrent modification exception?

No comments:

Post a Comment