Explain me what is the difference between HashMap and ConcurrentHashMap?

Submitted by: Muhammad
ConcurrentHashMap is thread-safe; that is the code can be accessed by single thread at a time while HashMap is not thread-safe. ConcurrentHashMap does not allow NULL keys while HashMap allows it.
Submitted by: Muhammad

Read Online Java Software Engineer Job Interview Questions And Answers