Question OOP-SOLID-0060
MediumWhich pattern builds a complex object step by step, such as new Pizza.Builder().size("L").cheese().build()?
- A.
Prototype
- B.
Builder
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
SOLID and Design Principles question
Which pattern builds a complex object step by step, such as new Pizza.Builder().size("L").cheese().build()?
Prototype
Builder
Sign up free to see the answer and a step-by-step explanation.
Factory Method
Composite