Object Oriented Design Principles

Object-Oriented Design Principles

  • Encapsulate What Varies
  • Code to an Interface Rather Than to an Implementation
  • Delegation Principle
  • The Open Closed Principle (OCP)
  • Dry- Don't Repeat Yourself
  • Single Responsibility Principle (SRP)
  • Liskov's Substitution Principle (LSP)
  • Interface Segregation Principle (ISP)
  • Dependency Injection or Inversion Principle

Learn these Object Oriented Design Principles in depth on :

http://www.javaguides.net/2018/08/object-oriented-design-principles-in-java.html

Related Posts


Comments