Tags: Programming Language.

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#.

Loading...

This page contains content from the copyrighted Wikipedia article "Leaf class (computer programming)"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.