Frage im Vorstellungsgespräch bei MakeMyTrip

concurrent hashmap and synchronized hashmap

Antwort im Vorstellungsgespräch

Anonym

1. Dez. 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.