ITWissen.info - Tech know how online

Specialization

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.

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

All rights reserved DATACOM Buchverlag GmbH © 2022