Content deleted Content added
m spelling |
Max Schwarz (talk | contribs) Added {{Javadoc:SE}} links |
||
Line 1:
In the [[Java programming language]], the <code>'''final'''</code> [[Keyword (computer)|keyword]] is used in several different contexts to define an entity which cannot later be changed.
A '''final [[Class (computer science)|class]]''' cannot be [[Subclass (computer science)|subclassed]]. This is done for reasons of security or efficiency. Accordingly, many of the Java standard library classes are final, for example
Example:
Line 20:
public class MyClass {
public static final
}
|