Passer au contenu

Objects: state, behaviour and an interface

Introduit
Leçon vidéo pour ce sujet Ouvrir la page vidéo
3:45

Programmation orientée objet

Une application scolaire suit des milliers d'élèves. Chacun a un nom, une classe et des notes, et peut s'inscrire à un cours ou recevoir une note. Séparer les variables pour…

Narration en anglais · sous-titres en anglais et en 中文 au choix

Dans cette leçon

Leçon vidéo
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.
behaviour/bɪˈheɪvjə/The 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
Polymorphism/ˈpɒlɪmɔːfɪzəm/
Suivant →

Fiche de cours

IGCSE, A-Level & AP