Class hierarchy
A class hierarchy or inheritance tree in computer science is a classification of object types, denoting objects as the instantiations of classes (class is like a blueprint, the object is what is built from that blueprint) inter-relating the various classes by relationships such as "inherits", "extends", "is an abstraction of", "an interface definition".[src] In object-oriented programming, a class is a template that defines the state and behavior common to objects of a certain kind.[src] A class can be defined in terms of other classes.[src] The concept of class hierarchy in computer science is very similar to taxonomy, the classifications of species.[src] The relationships are specified in the science of object-oriented design and object interface standards defined by popular use, language designers (Java, C++, Smalltalk, Visual Prolog) and standards committees for software design like the Object Management Group.[src] The class hierarchy can be as deep as needed.[src] The instance variables and methods are inherited down through the levels and can be redefined according to the requirement in a subclass.[src] In general, the further down in the hierarchy a class appears, the more specialized its behavior.[src] When a message is sent to an object, it is passed up the inheritance tree starting from the class of the receiving object until a definition is found for the method.[src] This process is called upcasting.[src]
A class hierarchy or inheritance tree in computer science is a classification of object types, denoting objects as the instantiations of classes (class is like a blueprint, the object is what is built from that blueprint) inter-relating the various classes by relationships such as "inherits", "extends", "is an abstraction of", "an interface definition".[src] In object-oriented programming, a class is a template that defines the state and behavior common to objects of a certain kind.[src] A class can be defined in terms of other classes.[src] The concept of class hierarchy in computer science is very similar to taxonomy, the classifications of species.[src] The relationships are specified in the science of object-oriented design and object interface standards defined by popular use, language designers (Java, C++, Smalltalk, Visual Prolog) and standards committees for software design like the Object Management Group.[src] The class hierarchy can be as deep as needed.[src] The instance variables and methods are inherited down through the levels and can be redefined according to the requirement in a subclass.[src] In general, the further down in the hierarchy a class appears, the more specialized its behavior.[src] When a message is sent to an object, it is passed up the inheritance tree starting from the class of the receiving object until a definition is found for the method.[src] This process is called upcasting.[src] ==See also== ==References==[src]
21 sentences · 21 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Class hierarchy." encyclopegia.org, 2025, https://encyclopegia.org/wiki/class-hierarchy. Accessed 06 December 2026.
Chicago
"Class hierarchy." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/class-hierarchy.
APA
encyclopegia.org. (2025). Class hierarchy. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/class-hierarchy
Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON