This question was recently asked to me in java interview. I tried to search it later but couldn't find the exact answer. In case if any1 have a link o the answer please let me know. So here goes my question :
ConcurrentHashMap and Hashtable are synchronized. But which locking mechanism it uses during write operation while locking.