Which design pattern separates the responsibilities of creating complex objects and the objects themselves?

  • Abstract Factory
  • Builder
  • Prototype
  • Singleton
The Builder design pattern separates the construction of a complex object from its representation. It allows the same construction process to create different representations, promoting flexibility and reusability.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *