Final (Java): Difference between revisions

Content deleted Content added
Ezrarez (talk | contribs)
m method example syntax
No edit summary
Line 15:
}
 
A '''final [[variable]]''' is a [[constant]]. It must be assigned a value at [[declaration (computer science)|declaration]], and the variable can lateronly be used but not assigned a newvalue valueonce.
 
Example: