OOP and OOD difference


In this section, we will explain the difference between OOP and OOD.

OOP tends to solve coding problem with object oriented features such as:
  • Inheritance
  • Polymorphism
  • Encapsulation
  • Data Abstraction

While OOD tends to solve coding problem with pattern such as:
  • Decorator pattern
  • Factory pattern
  • Bridge pattern
  • Composite pattern