Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

ExecutorService

An object you hand tasks to, which runs them on threads it manages and returns Futures.

java.util.concurrent.ExecutorService accepts Runnable and Callable tasks via submit, invokeAll and invokeAny, and since Java 19 is AutoCloseable; close() refuses new tasks and waits for submitted ones.

Read the full section →