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

constant

A variable declared final, whose value can't be changed after it is first set.

A constant is a final variable, assigned exactly once; shared class constants are declared static final and named in UPPER_SNAKE_CASE.

Examples

  • static final int MAX_SEATS = 120;

See also

Read the full section →