Quantcast
Channel: Java, JVM and beyond » OOD
Browsing all 3 articles
Browse latest View live

SOLID- Single Responsibility Principle

The Single Responsibility principle (SRP) states that: There should never be more than one reason for a class to change. We can relate the “reason to change” to “the responsibility of the class”. So...

View Article



SOLID- Open Closed Principle

Open Closed Principle (OCP) states that, Software entities (Classes, modules, functions) should be OPEN for EXTENSION, CLOSED for MODIFICATION. Lets try to reflect on the above statement- software...

View Article

SOLID- Liskov Substitution Principle

Liskov Substitution principle (LSP) states that, Methods that use references to the base classes must be able to use the objects of the derived classes without knowing it This principle was written by...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images