In class-based object-oriented programming languages, a leaf class is a class that should not be subclassed.
In object-oriented programming languages, a leaf class is a class that should not be further specialized or inherited from.