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.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications