Java syntax: Difference between revisions

Content deleted Content added
No edit summary
final classes: removed since superfluous
Line 1,255:
org.dwwwp.test.CustomClass: constructor runtime
hello from org.dwwwp.test.AbstractClass
</source>
 
=====<code>final</code> classes=====
The <code>final</code> modifier can be an optional modifier for classes to make them uninheritable.
 
<source lang=Java5>
final class Foo { // This class cannot be extended by any other class
 
}
</source>