Passer au contenu

Composition and inheritance

Introduit
Fiche de cours
Vocabulaire
English Sens
inheritance/ɪnˈherɪtəns/A class relationship in which a subclass derives behaviour and attributes from a base class.
composition/ˌkɒmpəˈzɪʃn/Building an object by combining it with other objects that provide parts of its behaviour or state.
fragile base classA base class whose changes can unexpectedly break subclasses that depend on its implementation.

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP