You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
println(constant); // Prints "12.84753" to the console
constant += 12.84; // ERROR! It's not possible to change a "final" value
]]></code>
</example>
<description><![CDATA[
Keyword used to state that a value, class, or method can't be changed. If the <b>final</b> keyword is used to define a variable, the variable can't be changed within the program. When used to define a class, a <b>final</b> class cannot be subclassed. When used to define a function or method, a <b>final</b> method can't be overridden by subclasses.<br />
<br />
This keyword is an essential part of Java programming and is not usually used with Processing. Consult a Java language reference or tutorial for more information.