SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Creational-Structural-Behavioral
|
|
Creational-Behavioral-Abstract
|
|
Behavioral-Structural-Physical
|
|
Abstract-Structural-Physical
|
Detailed explanation-1: -Structural Patterns: These design patterns deal with class and object composition. The concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionality. Behavioral Patterns: These design patterns are specifically concerned with communication between objects.
Detailed explanation-2: -The Creational pattern focuses on object creation; the Structural pattern relies on the relationship between objects, and Behavioural builds its communication between objects. We also looked at these patterns in their categories: Singleton, Adapter and Null Object.
Detailed explanation-3: -Design Patterns are categorized mainly into three categories: Creational Design Pattern, Structural Design Pattern, and Behavioral Design Pattern. These are differed from each other on the basis of their level of detail, complexity, and scale of applicability to the entire system being design.
Detailed explanation-4: -Abstract Factory. Allows the creation of objects without specifying their concrete type. Builder. Uses to create complex objects. Factory Method. Creates objects without specifying the exact class to create. Prototype. Creates a new object from an existing object. Singleton.