beginnerCreational Patterns (Java)
What is the Builder pattern? When should you use it over a constructor?
Tests whether you know when a fluent step-by-step builder is more readable than a constructor with many optional parameters.
This is a Pro question
Sign in, then upgrade to Pro or Power to unlock this question and the full Interview Prep bank.
What is the Builder pattern? When should you use it over a constructor?