Metadata
aliases: [OOP]
shorthands: {}
created: 2022-01-20 11:49:26
modified: 2022-06-26 21:34:35
A software engineering concept in which concepts are represented as objects
Can contain data and code:
Most OOP languages are class-based: objects are instances of classes, which also determine their types.
The class is the definition of the data format and available procedures. It may also contain data and procedures itself (class methods (static in C++)).
Classes can have private and public field and methods. The private members cannot be accessed from outside the class.
Classes can be arranged in a hierarchy that represents "is-a-type-of" relationships.
For example: the class Dog extends the class Animal