The Four Pillars of Object-Oriented Programming
Object-oriented programming (OOP) is based on four fundamental principles:
- Encapsulation: This principle allows data and methods to be encapsulated within an object, preventing direct access from outside.
- Inheritance: Inheritance enables objects to inherit properties and methods from other objects, forming a hierarchical structure.
- Polymorphism: Polymorphism allows objects to take on multiple forms and behave differently based on the context.
- Abstraction: Abstraction focuses on hiding unnecessary details and exposing only the essential features of an object.
Limited Support for Encapsulation
No Built-in Class-based Inheritance
Lack of Polymorphism
Minimal Abstraction Features