Question d’entretien chez MakeMyTrip

concurrent hashmap and synchronized hashmap

Réponse à la question d'entretien

Utilisateur anonyme

1 déc. 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.