Page 1 of 1

Motivate the need for Decorator Design Pattern. The below code attempts to add window dressing. Finish the implementatio

Posted: Fri May 20, 2022 1:28 pm
by answerhappygod
Motivate The Need For Decorator Design Pattern The Below Code Attempts To Add Window Dressing Finish The Implementatio 1
Motivate The Need For Decorator Design Pattern The Below Code Attempts To Add Window Dressing Finish The Implementatio 1 (97.32 KiB) Viewed 43 times
Motivate the need for Decorator Design Pattern. The below code attempts to add window dressing. Finish the implementation and provide minimum client code illustrating its use. Il component class Window { public: Window(const string & window=""): window_(window){}; virtual string showWindow() const (return window; } private: const string window_; }; Il decorators, complete them class Curtains: public Window { }; class Blinds: public Window { }; using c++