UST interview question

3. Difference between Concurrent HashMap and Synchronized HashMap.

Interview Answer

Anonymous

Dec 6, 2016

Concurrent HashMap only locks write operation while Synchronized HashMap locks both read and write operations. So Synchronized HashMap is slow.