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 exposes a high-level interface that coordinates multiple underlying classes, making the subsystem easier to use without exposing its complexity.