xxxxxxxxxx
1.Encapsulation: An object's attributes can only be accessed/modified by one of its methods.
2.Abstraction: Show only the things needed.
3.Inheritance: The ability for one object to acquire properties from another object.
4.Polymorphism: The ability to have many implementations of a single interface.
xxxxxxxxxx
These principles establish ways to make your codebase more maintainable and
prepare it for future growth.
SOLID is an acronym for five object-oriented programming principles:
S - Single-responsiblity Principle
O - Open-closed Principle
L - Liskov Substitution Principle
I - Interface Segregation Principle
D - Dependency Inversion Principle