The Liskov Substitution Principle (LSP) is a principle in object-oriented programming that states that objects […]
Open-Closed Principle(OCP)
Definition: The Open-Closed Principle (OCP) is a software design principle that states that software entities […]
Single Responsibility Principle
The Single Responsibility Principle (SRP), a guideline for software development, states that every class, function […]
Polymorphism in Java — Method Overloading
Let’s try to model a person object, and we see that the person has different […]