UST interview question

3. Difference between Concurrent HashMap and Synchronized HashMap.

Interview Answer

Anonymous

6 Dec 2016

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