Skip to content

Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes.

Notifications You must be signed in to change notification settings

una-eif204-progra2-master/dp-creational-abstractfactory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Design pattern: Creational - Abstract Factory

Abstract Factory is a creational design pattern, which solves the problem of creating entire product families without specifying their concrete classes.

Abstract Factory defines an interface for creating all distinct products but leaves the actual product creation to concrete factory classes. Each factory type corresponds to a certain product variety.

The client code calls the creation methods of a factory object instead of creating products directly with a constructor call (new operator). Since a factory corresponds to a single product variant, all its products will be compatible.

About

Abstract Factory is a creational design pattern that lets you produce families of related objects without specifying their concrete classes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published