Categories

Oct 17, 2019 in Design Patterns

Q: What is the difference between factory and abstract factory design pattern?

1 Answer

Oct 18, 2019

Both factory and abstract factory are creational design patterns. The major difference between these two is, a factory pattern creates an object through inheritance and produces only one Product. On the other hand, an abstract factory pattern creates the object through composition and produce families of products.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Aug 12 in Design Patterns
Aug 12 in Design Patterns
Oct 17, 2019 in Design Patterns
...