The ___________ design pattern is used to provide a unified interface to a set of interfaces in a subsystem.

  • Adapter
  • Decorator
  • Facade
  • Proxy
The correct option is "Facade." The Facade design pattern is utilized to provide a simplified interface to a larger body of code, such as a subsystem or a complex set of classes. It acts as a unified interface that hides the complexities of the subsystem and provides a simpler way for clients to interact with it. This pattern promotes loose coupling between subsystems and clients, enhancing the maintainability and scalability of the codebase.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *