It is a type of creational design pattern. There are three types of design patterns:
- Creational Patterns – Abstract Factory, Builder, Factory Method, Prototype, Singleton
- Structural Patterns – Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy
- Behavioral Patterns – Chain of Resp., Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor
For Example Code : Go To Git Repository
Note: The interfaces (Factories) in between topmost interface (Factory) and implementation will not have models.