sophryu99 / TIL

TIL Repository
0 stars 1 forks source link

OOP Principles #42

Open sophryu99 opened 2 years ago

sophryu99 commented 2 years ago

Object Oriented Programming, OOP

The purpose of OOP:

Properties of OOP:

1. Abstraction:

2. Encapsulation:

3. Inheritance:

4. Polymorphism:

Source

sophryu99 commented 2 years ago

SOLID Principles

The Single Responsibility Principle The Open-Closed Principle The Liskov Substitution Principle The Interface Segregation Principle The Dependency Inversion Principle

The Single Responsibility Principle