Abstraction |
A concept in OOP that allows defining complex systems while hiding unnecessary details. |
Class |
A blueprint for creating objects that defines a set of attributes and methods. |
Constructor |
A special method in a class that is called when an object is instantiated, initializing its attributes. |
Encapsulation |
The bundling of data and methods that operate on that data within a single unit or object. |
Inheritance |
A mechanism that allows a new class to inherit properties and behavior from an existing class, promoting code reuse. |
Method |
A function defined within a class that describes the behavior of instances of that class. |
Object |
An instance of a class that contains data and methods related to that data. |
Object-Oriented Programming (OOP) |
A programming paradigm based on the concept of 'objects', which can contain data and code. |
Polymorphism |
The ability of different classes to be treated as instances of the same class through a common interface, allowing for flexibility in code. |
Private Attributes |
Class attributes that cannot be accessed directly from outside the class, typically prefixed with an underscore or double underscore. |