SOLID is an acronym used for the following design principles.
S: Single Responsibility principle - every module or a class should have the responsibility of a single part of the functionality and it should be entirely encapsulated by the same class or module.
O: Open Closed Principle - software entities should be open for extension and closed for modification.
L: Liskov Substitution Principle: is a concept in Object Oriented Programming that states, Functions that use pointers or references to base classes must be able to use objects of derived classes without knowing it.
I: Interface Segregation Principle: states that no client should be forced to depend on methods it does not use
D: Dependency Inversion Principle - High-level modules should not depend on low-level modules. Both should depend on abstractions. Abstractions should not depend on details. Details should depend on abstractions.
Posted Date:- 2021-09-06 20:55:07