Intent
- Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses
- Defining a “virtual” constructor.
- The new operator considered harmful.
Why to read, you can watch the below videos to understand factory pattern and its implementations ?
Introduction the Factory Design Pattern
Overview of the Factory Design Pattern
Coding the Factory Design Pattern
Executing the Factory Design Pattern

