-4

I am new to Stackoverflow searched over google but not able to understand the basic difference between them.

user2628046
  • 11
  • 1
  • 1
  • Go through http://ria101.wordpress.com/2011/12/12/concurrenthashmap-avoid-a-common-misuse/. Its a broad and nice article – sanbhat Jul 28 '13 at 17:54

1 Answers1

1

The ConcurrentHashMap is thread-safe, while the basic HashMap is not. This is explained as well in the official documentation.

drvdijk
  • 5,556
  • 2
  • 29
  • 48