Skip to content

Module 07 · Concurrency

Objective group 9: running code concurrently — Runnable/Callable and Future, the ExecutorService and java.util.concurrent toolkit, CompletableFuture composition, and Java 21 virtual threads. The exam favors conceptual traps (start vs run, atomicity vs visibility, thenApply vs thenCompose).

Lessons

#LessonWhat it covers
01Threads & TasksRunnable/Callable, Thread, lifecycle states, Future.
02Executors & Concurrent UtilitiesExecutorService, pools, concurrent collections, atomics, visibility.
03CompletableFuturesupplyAsync, compose/combine, exception handling.
04Virtual ThreadsPlatform vs virtual, per-task executor (Java 21).

Module Mini-Exam

A timed, mixed quiz covering the whole module. Aim well above the real exam's 68% pass bar.

Mini-Exam

  • 8 questions
  • 20 minutes
  • 9 total points
  • Pass: 7 pts (68%)