
Design Patterns
Structural – Decorator Design Pattern
Decorator Pattern is a structural design pattern. If we want to add behaviors during the runtime for an object, we can use decorator pattern. In other words, we can extend the functionalities of the structure of program without changing the structure. Let’s discuss about the decorator design pattern using an example in java. Here I […]
July 31, 2020