MediumAnalyzeSoftware Design PatternsMultiple Choice

What is the key difference between Simple Factory and Abstract Factory?

Analyze Tests ability to break down and examine complex problems.

Answer Options

ASimple Factory uses static methods; Abstract Factory cannot
BAbstract Factory creates families of related objects; Simple Factory creates one type of object
CSimple Factory is a design pattern; Abstract Factory is just a programming technique
DAbstract Factory always uses inheritance; Simple Factory uses composition

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 15+ more Software Design Patterns questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Software Design Patterns topic (Software Engineering).

More Software Design Patterns Questions