Leaf class (computer programming)

In class-based object-oriented programming languages, 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 final keyword in Java or the sealed keyword in C#.

This article is issued from Wikipedia - version of the Monday, January 13, 2014. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.