SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
4
|
|
10
|
|
3
|
|
5
|
Detailed explanation-1: -There are 6 types of creational design patterns: Factory Method, Abstract Factory, Singleton, Prototype, Builder, and Object Pool pattern. Let us learn about these in detail in the further subsections.
Detailed explanation-2: -Creational design patterns provide various object creation mechanisms, which increase flexibility and reuse of existing code. Provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
Detailed explanation-3: -Although there are 23 design patterns listed in Design Patterns: Elements of Reusable Object-Oriented Software, of those there are 7 that are considered the most influential or important. This section outlines the 7 best software design patterns, why they are important, and when to use them.