What is the use of ConcurrentHashMap in Java? What are its benefits? How does it work? Sample code would be useful too.
ConcurrentHashMap