Encapsulation Inheritance
Polymorphism Class
Object-Oriented Programming (OOP) Abstraction
Constructor Method

 

A mechanism that allows a new class to inherit properties and behavior from an existing class, promoting code reuse. The bundling of data and methods that operate on that data within a single unit or object.
A blueprint for creating objects that defines a set of attributes and methods. The ability of different classes to be treated as instances of the same class through a common interface, allowing for flexibility in code.
A concept in OOP that allows defining complex systems while hiding unnecessary details. A programming paradigm based on the concept of 'objects', which can contain data and code.
A function defined within a class that describes the behavior of instances of that class. A special method in a class that is called when an object is instantiated, initializing its attributes.

 

Object Private Attributes

 

Class attributes that cannot be accessed directly from outside the class, typically prefixed with an underscore or double underscore. An instance of a class that contains data and methods related to that data.