The decorator pattern is used to add additional
behaviours to a method that is already existing for an object. In certain
situations the existing behaviour is completely overridden. Those additional behaviours
can be either permanent, or transient,
or dynamically added at run-time.
No comments:
Post a Comment