Facade Design Pattern
1. It is one of structural design pattern. 2. This design pattern provides the simplified interface to the user and hide the complex details. Checklist: 1. Create a common interface for subsystem. 2. Create one wrapper class which include all the subsystem. 3. Create a object of wrapper class which provide the simplify interface of the larger body of system like a class library. Implementation: Here we are implementing the Widget library which is providing the different widgets and there properties in single Object. 1. Implementing the common interface class which contain the properties of widget. class widget{ void size(int l, int b); void color(sring color_name); }; 2. implements the widgets with there property by inheriting the interface class widget. class button:widget { void size(int l, int b); { cout<<"color button"; ...