Skip to content
Sharp

Software Architecture · interview question

In what scenario might the Builder pattern not be the best choice for object construction?

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

Correct answer

D. When the class has very few fields.

Why

If a class has very few fields, the overhead of the Builder pattern might not be justified, as a simple constructor would suffice and offer greater simplicity and clarity.

Test yourself on Software Architecture

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

Start free test
All Software Architecture questions →