Skip to content
Sharp

Software Architecture · interview question

Which design pattern would you use in combination with the Builder pattern to manage the creation of different types of builders?

Multiple choiceMediumchapter-13-curatedpremiumsoftware-architecturebuilder-pattern
Choose one answer
Answer and explanation

Correct answer

D. Factory

Why

The Factory pattern is well-suited to manage the creation of different types of builders, providing an interface to create builder instances without specifying the exact class, thus encapsulating the instantiation logic.

Test yourself on Software Architecture

A free test with instant, explained results. No account needed.

Start free test
All Software Architecture questions →