Content deleted Content added
ConnerAlex (talk | contribs) Reference edited with ProveIt adding reference |
ConnerAlex (talk | contribs) Reference edited with ProveIt expanding page |
||
Line 1:
''This article is about the computer science concept. For the sociology concept, see [[social class]].''
The concept of class hierarchy in computer science is very similar to [[Taxonomy (biology)|taxonomy]], the classifications of species.
The relationships are specified in the science of object The class hierarchy can be as deep as needed. The Instance variables and methods are inherited down through the levels and can be redefined according to the requirement in a subclass. In general, the further down in the hierarchy a class appears, the more specialized its behavior. 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. This process is called upcasting.
==References==
|