Category: Design Patterns

What is Factory Method?
Natan Ferreira
- 0
- 64
The Factory Method is a creational design pattern that provides an interface for creating objects in a superclass but allows subclasses to alter the type of objects that will be created. In addition to the use of polymorphism, it is possible to create either ProductA or ProductB, depending on which factory is being used. The…
Read More