Abstract Factory:[Creational]

 
  • Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
  • Creates an instance of several families of classes.
  • Abstract Factory will be useful while create a family of objects that having same type of implementations.
Abstarct
Note: Abstract Factory can be used while create an instance from family of objects [having lot of similarities] without changing the rules like Carnivore eats Herbivore.

Comments

Popular posts from this blog

BDD - Acceptance Test Driven Development

Angular JS – Part 2

.Net Collections