DESIGN-PATTERNS Course

Strategy

Go back

Creates a family of classes sharing some properties from what I understand.

  • ➡️: Border class in java divided with CompoundBorder, EmptyBorder, ...
  • ✅ : easy to add some functionalities
  • 🚫 : classes are too tied

These links may help