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

captured variable

A local variable from the surrounding method that a lambda uses; the lambda keeps a copy of its value.

A local variable or parameter of an enclosing method referenced from a lambda body; it must be final or effectively final, and the lambda object holds its value.

Read the full section →