SOFTWARE ENGINEERING

SOFTWARE DESIGN

DESIGN PATTERNS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which Design Patterns are similar to FACADE?
A
Mediator
B
Abstract Factory
C
Observer
D
Singleton
Explanation: 

Detailed explanation-1: -1) Creational Pattern. Factory Method Pattern Abstract Factory Pattern Singleton Pattern Prototype Pattern Builder Pattern Object Pool Pattern. 2) Structural Pattern. Adapter Pattern Bridge Pattern Composite Pattern Decorator Pattern Facade Pattern Flyweight Pattern proxy Pattern. 3) Behavioral Pattern.

Detailed explanation-2: -A facade is a class or a group of classes hiding internal implementation/services from the user. An abstract factory encapsulates a group of factories which are used for creating objects, whereas Facade can be used to provide abstraction to all kinds of operations, not just creation.

Detailed explanation-3: -The facade pattern is used when you want to hide an implementation or otherwise make available a different interface externally. The builder/factory pattern is used when you want to hide the details on constructing instances.

There is 1 question to complete.