- Tech know how online


The term specialization is also used in object-oriented programming. Specialization refers to the definitions of a new class as a subclass of one or more other classes (superclasses). Due to inheritance, the new class has all the characteristics of its superclasses. In its class definition, however, additional characteristics( extension) can be defined or inherited characteristics can be overwritten(redefinition). The new class therefore represents a specialization of its superclasses. However, a subclass does not necessarily have to redefine additional characteristics or inherited characteristics; it can also be formed exclusively from the union of the characteristics of its superclass - in this case we also speak of aggregated classes.

Englisch: Specialization
Updated at: 30.11.2009
#Words: 108
Links: object (O), class, inheritance, indium (In), class definition
Translations: DE

All rights reserved DATACOM Buchverlag GmbH © 2022