Explained OCP With Simple Example.
The open–closed principle states "software entities should be open for extension, but closed for modification"
Playlist: • SOLID Design Principles
GitHub: https://github.com/AlmightyTricks/SOLID
0:00 - intro to OCP
0:35 - What is OCP
3:19 - OCP Explained with Example
8:06 - OCP explained with practical example