Interviewer And Interviewee Guide

Java Software Engineer Interview Question:

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
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.