Which design pattern would you suggest to refactor the code?

While analyzing an application, you observe that it contains numerous Interfaces for
complex domain logic. Completing a business Function currently requires calling several of
these interfaces in an order that is understood by system experts. Which design pattern
would you suggest to refactor the code?

While analyzing an application, you observe that it contains numerous Interfaces for
complex domain logic. Completing a business Function currently requires calling several of
these interfaces in an order that is understood by system experts. Which design pattern
would you suggest to refactor the code?

A.
Decorator

B.
Façade

C.
MVC

D.
DAO

E.
Adapter



Leave a Reply 2

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


Neo

Neo

B.
Façade is for creating a entry to a resource(service) bundle.

Ashishkumar

Ashishkumar

B is correct answer