Content deleted Content added
not actually an orphan |
m Add C++ in addition to Java |
||
Line 1:
{{Unreferenced stub|auto=yes|date=December 2009}}
In [[class (computer science)|class-based]] [[object-oriented programming language]]s, a '''leaf class''' is a class that should not be subclassed. This can be enforced either by convention, or by using a language feature such as the <code>final</code> keyword in [[C++ (programming language)|C++]] or [[Java (programming language)|Java]], or the <code>sealed</code> keyword in [[C Sharp (programming language)|C#]].
{{DEFAULTSORT:Leaf Class}}
|