Computer Science, asked by jatinchaudhary3834, 1 year ago

Difference between concurrenthashmap and synchronized hashmap

Answers

Answered by CBSEMP
11
heya guys ur differences below

ConcurrentHashMap is thread safe without synchronizing the whole map. Reads can happen very fast while write is done with a lock. Both aresynchronized version of HashMap, with difference in their core functionality and their internal structure.
Similar questions