Перейти к содержанию

Objects and classes

Введено
Раздаточный материал
Словарь
English Значение
object-oriented programming/ˈɒbdʒekt ˈɔːrɪəntɪd ˈprəʊɡræmɪŋ/Organising programs around objects that combine state and behaviour.
object/ˈɒbdʒekt/An entity in a program with associated state and behaviour, often an instance of a class.
class/klæs/A definition describing the state and behaviour of its instances.
instance/ˈɪnstəns/A particular occurrence or example; in object-oriented programming, an object created from a class.
instance attributeinstance attribute
class attributeclass attribute
reference/ˈrefrəns/A value identifying an object; assigning it to another Python name does not copy the object.
alias/ˈeɪlɪəs/alias
equality/iːˈkwɒlɪti/A comparison of values according to an object's equality operation.
identity/aɪˈdentɪti/Whether two references identify the very same object.

Раздаточный материал

Войти или создать аккаунт

IGCSE, A-Level & AP