Overview
OOP is one of the most widely used programming paradigms. It organizes software design around data, or objects, rather than functions and logic.
Four Pillars of OOP
- Encapsulation: Bundling data and methods that operate on that data within a single unit (class).
- Abstraction: Hiding complex implementation details and showing only the necessary features of an object.
- Inheritance: Allowing a class to inherit properties and methods from another class.
- Polymorphism: Allowing objects of different classes to be treated as objects of a common superclass.
Common Languages
- Java
- C++
- Python
- C#