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

final field

A field that must be assigned exactly once, by the end of every constructor, and never again.

A final instance field must be definitely assigned in every constructor (or by its initializer) and can't be reassigned; for a reference, the reference is fixed but the object it refers to may still be mutable.

Read the full section →