Loading…
Loading…
Twenty questions on Part 4 of the modern Java concurrency course: StructuredTaskScope rules, forking and joining, built-in and custom joiners, exceptions and timeouts, memory visibility, nested scopes, thread dumps, and the API's changes from Java 21 to Java 28.
Review quiz for Part 4 (Structured Concurrency) of the modern Java concurrency course, articles 26 to 37: from The Problems With Unstructured Concurrency in Java to StructuredTaskScope From Java 21 to Java 28: Every API Change and How to Migrate.
The questions use the Java 27 preview API, which Java 28 makes final without changes. Every code answer was checked against that API's behaviour. Aim for at least 14 out of 20 before moving on to Part 5.
Quiz path: step 4. Take the quizzes in this order, after reading each article.
Previous quiz: The Mechanics Behind Java Virtual Threads (Java Concurrency Part 3 Review)
Next quiz: Scoped Values in Java (Java Concurrency Part 5 Review)
20 questions · pass at 70%
Check your understanding; you see the answers and explanations after submitting.
Discussion
Sign in to ask a question or share what you learned.