The Abstract Factory Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes.
![](https://images0.cnblogs.com/blog/578965/201312/02152917-4415bd464b2e446a9f0563a7ba62382a.png)
implementation
![](https://images0.cnblogs.com/blog/578965/201312/02153151-220eb29816ed48f5bb884d1a61a580d5.png)
The Abstract Factory Pattern provides an interface for creating families of related or dependent objects without specifying their concrete classes.