SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
According to the presentation, what is Design Pattern FACADE for?
A
When you want to split and organize a monolithic class
B
To make the system more complex
C
To make the system easier to maintain
D
When you want to use an existing class, but its interface is not compatible with the rest of your code
Explanation: 

Detailed explanation-1: -The main objective of facade design pattern is to provide a simple interface before a complex system. So that the user or client can access the simple interface without knowing the complexity of its sub-system. Facade design patterns are mostly used to hide the dependencies involved in a system from the user.

Detailed explanation-2: -Use the Facade pattern when you need to have a limited but straightforward interface to a complex subsystem. Often, subsystems get more complex over time. Even applying design patterns typically leads to creating more classes.

There is 1 question to complete.