Leaf object

From Wikipedia, the free encyclopedia

An example of a tree structure with leaf nodes highlighted
An example of a tree structure with leaf nodes highlighted

A leaf object is an object that is represented by an endpoint node in a tree structure. In computer programming, when a tree hierarchy is used to organize sets of a particular type of object, the actual object instance that the end node represents is a "leaf" object.