![]() All factories encapsulate object creation.Factory Method lets a class defer instantiation to subclassesĪbstract Factory Pattern: Provide an interface for creating families of related or dependent objects without specifying their concrete classes. Have to instantiate and wrap each component.įactory Method Pattern:Defines an interface for creating an object, but lets subclasses decide which class to instantiate. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |