-
Single Responsibility Principle (SRP): A class should have only one reason to change.
-
Open/Closed Principle (OCP): Software entities should be open for extension but closed for modification.
-
Liskov Substitution Principle (LSP): Subtypes must be substitutable for their base types without altering the correctness of the program.
-
Interface Segregation Principle (ISP): A client should not be forced to implement interfaces it does not use.
-
Dependency Inversion Principle (DIP): High-level modules should depend on abstractions, not on concrete implementations.
ashvin27/SOLID-Principles-with-Real-Life-Examples
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|