tag:blogger.com,1999:blog-12463714.post4115575209499557108..comments2023-06-11T07:30:32.486-04:00Comments on // Programming Notes: The Decorator PatternPaul Carterhttp://www.blogger.com/profile/11141659329083855293noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-12463714.post-82984639962414754612012-04-10T03:30:26.908-04:002012-04-10T03:30:26.908-04:00Main benefit of decorator is that it affect only i...Main benefit of decorator is that it affect only individual object and not all object which itself a big control and flexibility inheritance doesn't offer. See here for <a href="http://thecafetechno.com/tutorials/design-patterns/adapter-pattern-in-java-with-sample-code-to-download/" rel="nofollow">another example of decorator pattern in Java.</a>dharmendrahttps://www.blogger.com/profile/02400885040352175441noreply@blogger.com