...
Wiki Markup |
---|
According to \[[JLS 2005|AA. Bibliography#JLS 05]\], §13.4.9, "{{final}} Fields and Constants"]\] of the Java Language Specification [(JLS 2005]), |
Other than for true mathematical constants, we recommend that source code make very sparing use of class variables that are declared
static
andfinal
. If the read-only nature offinal
is required, a better choice is to declare aprivate static
variable and a suitable accessor method to get its value.
...