Monday, March 27, 2017

Abstract Factory Vs Factory Method

Abstract Factory
Provides an interface for creating families of related or dependent objects without specifying their concrete classes

Factory Method

Define an interface for creating an object , but let subclass decided which class to instantiate.  

No comments:

Post a Comment

Abstract Factory Vs Factory Method

Abstract Factory Provides an interface for creating families of related or dependent objects without specifying their concrete classes ...