From 9878d49d0950eab11b484163c96ad03493d5dcbd Mon Sep 17 00:00:00 2001 From: ismayilmalik Date: Wed, 3 Jan 2018 01:40:46 +0300 Subject: [PATCH] implemented abstract factory --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 0cb3a36..5d902c6 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ - [Singleton](#singleton) - [Builder](#builder) - [Factory](#factory) + - [Abstract Factory](#abstract-factory) - [Structural patterns](#structural-patterns) - [Composition](#composition) - [Behavioral patterns](#behavioral-patterns) @@ -34,6 +35,10 @@ same construction process can create different representations. Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to subclasses. +### Abstract Factory +Provide an interface for creating famili es of related or dependent objects without +specifying their concrete classes. + ## Structural patterns Structural patterns are concerned with how classes and objects are composed to form larger structures. Structural class patterns use inheritance to compose interfaces or implementations.