Decorator Pattern
Decorator Pattern Imagine there is an object where if we send a message Speak () to the object returns “Hello World” as response. Decorator pattern says that if I want to change the behavior of the object, I can do so without changing the contents of the object at run time. Decorator pattern wraps the... » read more