Loading…
Loading…
Ten exam-style questions on concurrent collections and threading problems: ConcurrentModificationException, ConcurrentHashMap, CopyOnWriteArrayList, skip-list classes, blocking queues, synchronized wrappers, deadlock, starvation, livelock and race conditions, with explanations.
Practice questions for the article Java Concurrent Collections and Threading Problems: Deadlock, Starvation and Livelock.
Every compile and output claim was checked against a real JDK. Aim for at least 8 out of 10.
Quiz path: step 94. Take the quizzes in this order, after reading each article.
Previous quiz: ReentrantLock, ReadWriteLock and CyclicBarrier (OCP 21)
Next quiz: Parallel Streams (OCP 21)
10 questions · pass at 68%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.