Pergunta de entrevista da empresa MakeMyTrip

concurrent hashmap and synchronized hashmap

Resposta da entrevista

Sigiloso

1 de dez. de 2018

In Concurrent HashMap, only the particular bucket gets lock for the operation but in synchronized HashMap, the whole object gets the lock for the operation.