Passer au contenu

Objects: state, behaviour and an interface

Introduit
Regarder la leçon
Vocabulaire
English Sens
object/ˈɒbdʒekt/An entity in a program with associated state and behaviour, often an instance of a class.
class/klæs/The template; an object is one instance.
state/steɪt/The current values of an object's attributes.
behaviourThe actions or responses provided by an object's methods.
instance/ˈɪnstəns/instance : un objet
encapsulation/ɪnˌkæpsjʊˈleɪʃn/encapsulation : encapsulation
invariant/ɪnˈveərɪənt/a condition about an object's state that must always remain true
Suivant →

Fiche de cours

Se connecter ou créer un compte

IGCSE, A-Level & AP