Skip to content
Sharp

Software Architecture · interview question

How can the Builder pattern be extended to support different variations of an object, such as different types of 'Order' in an e-commerce system?

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

Correct answer

C. By implementing multiple concrete builders for each type.

Why

Implementing multiple concrete builders for each type allows for specialization and customization of the building process, accommodating different variations of an object while keeping the logic clean and manageable.

Test yourself on Software Architecture

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

Start free test
All Software Architecture questions →