Tuesday 15 January 2019

SOLID Design Principles

SOLID Stands for


  • S means SRP(Single Responsibility Principle)
  • O means OCP(Open-Closed  Principle)
  • L means LSP(Liksov Substitution Principle)
  • I means ISP(Interface Segregation Principle)
  • D means DIP(Dependency Inversion Principle)

SRP(Single Responsibility Principle)

The Single Responsibility Principle (SRP) states that a class must have one single reason to change.

OCP(Open-Closed  Principle)

The Open-Closed Principle (OCP) states that a class should be available for extension, but not for modification.

LSP(Liskov Substitution Principle)


The Liskov Substitution Principle (LSP) states that  a child class should behave as the parent in classes which only knows about the parent class.

ISP(Interface Segregation Principle)

The Interface Segregation Principle (ISP) states that a class should depend upon only on things it actually needs or uses.

DIP(Dependency Inversion Principle)

The Dependency Inversion Principle (DIP) states that a class must not be concerned regarding where is gets its data from.


Happy Reading!

Thanks for reading my tutorials. Please help me in delivering right content with useful comments. 

2 comments: