Domanda di colloquio di Wissen Infotech

all advance java questions, Collections (Hashmaps, Concurrent Hashmaps, List,)

Risposte di colloquio

Anonimo

10 ago 2020

What were the questions?

Anonimo

30 ago 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.

1