Design patterns · Question 6 of 12
What is the builder pattern used for?
1 answer is correct. Easy
Show answer
Answer
- D Assembling a complex object step by step
Explanation
A builder collects the parts of an object bit by bit (for example the conditions of a query) and creates the result at the end. Allowing only one instance is the singleton pattern instead.