← Quiz: Java Multithreading: all 10 questions
Quiz: Java Multithreading · Question 5 of 10
Which is a thread-safe Map for heavy concurrent use?
Which is a thread-safe Map for heavy concurrent use?
- A.HashMap
- B.TreeMap
- C.ConcurrentHashMap
- D.LinkedHashMap
Answer & explanation
Correct answer: ConcurrentHashMap
ConcurrentHashMap is designed for safe, fast concurrent access.
Can you get the rest right without peeking?
Take the timed Quiz: Java Multithreading quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →