Multiple choice technology architecture

What is a Façade pattern?

  1. The reusable and variable parts of a class are broken into two classes to save resources

  2. One class controls the creation of and access to objects in another class.

  3. One class takes in another class, both of which extend the same abstract class, and adds functionality.

  4. One class has a method that performs a complex process calling several other classes.

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The Facade pattern provides a simplified interface to a complex subsystem. One class (the facade) offers a unified interface that delegates to multiple underlying classes, hiding their complexity. Option A describes Bridge pattern, Option C describes Decorator pattern, and Option B is too vague but could describe Proxy or Factory patterns.