Question 2
Max. score: 6.00
Ben is working on a new project and is trying to decide which design patterns to use. He has narrowed it down to three options: the abstract factory, builder, and prototype patterns. Which of the following is true about these patterns?
Options
1. The abstract factory pattern is used to create objects, the builder pattern is used to compose objects, and the prototype pattern is used to communicate between objects.
2. The abstract factory pattern is used to create objects, the builder pattern is used to create objects, and the prototype pattern is used to create objects.
3. The abstract factory pattern is used to create objects, the builder pattern is used to compose objects, and the prototype pattern is used to create objects.
4. The abstract factory pattern is used to create objects, the builder pattern is used to compose objects, and the prototype pattern is used to communicate between objects.
1
2
3
4