1/16
Looks like no tags are added yet.
Object-Oriented Programming (OOP)
A programming approach that organizes software around objects that combine related data and behavior.
Class
A blueprint or template defining the attributes and methods that its objects can have.
Object
A specific instance created from a class.
Instance
Another word for an object created from a class.
Attribute
Data associated with an object.
Method
A function defined inside a class that describes behavior.
self
A reference to the particular instance on which a method is operating.
Constructor
A method that initializes an object when it is created, typically __init__() in Python.
Encapsulation
The organization of related data and behavior together, providing a defined way to interact with them.
Dot operator
The syntax used to access an object's attributes and methods.
Object lifecycle
Describes the creation, use, and eventual destruction of an object.
Instantiation
The process of creating an instance from a class.
Inheritance
A mechanism allowing one class to derive behavior or attributes from another class.
Composition
Building more complex objects using other objects as components.
Object state
The values of an object's attributes at a particular time.
Interface
The set of operations an object makes available to other code.
Instance attribute
Data belonging to an individual object.