Facade Design pattern
Aims at simplifying interface.
Existence of façade is not known to sub-system.
Intermediates between client and sub stem.
Mediator Design pattern
Aims at simplifying object interaction.
Existence of mediator is known to objects since they interact using the same.
Intermediates between various objects which want to interact.
Asked In: Many Interviews |