The _______ design pattern is used to define an interface for creating an object, but let subclasses alter the type of objects that will be created.

  • Abstract Factory
  • Builder
  • Factory
  • Prototype
The Factory design pattern is used to define an interface for creating an object, but let subclasses alter the type of objects that will be created. It provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
Add your answer
Loading...

Leave a comment

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