Java · Medium · ProDifferentiate between Decorator and Proxy patterns. Provide real-world examples.JavaAdvanced JavaDesign Patterns