SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Creational patterns focus on correcting structures that have been misplaced in the software.
|
|
Creational patterns focus on the description of processes and the search for patterns that describe them.
|
|
Creational patterns focus on the “creation, composition, and representation” of objects.
|
|
Creational patterns focus on the way classes and objects are organized and integrated to design larger structures.
|
Detailed explanation-1: -In software engineering, creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. The basic form of object creation could result in design problems or in added complexity to the design.
Detailed explanation-2: -There are 6 types of creational design patterns: Factory Method, Abstract Factory, Singleton, Prototype, Builder, and Object Pool pattern. Creational design patterns can be complementary in nature, i.e. they may consist of more than one type of design pattern.
Detailed explanation-3: -Creational patterns focus on the “creation, composition, and representation of objects, e.g., Abstract factory pattern: centralize decision of what factory to instantiate.
Detailed explanation-4: -A class creational pattern uses inheritance to vary the class that’s instantiated, whereas an object creational pattern will delegate instantiation to another object. Creational patterns become important as systems evolve to depend more on object composition than class inheritance.