What is the main difference between design patterns Decorator and Proxy.
Decorator - a pattern that dynamically adds features to the object.
Proxy - a pattern that replaces another object and controls access to that object (but it can't be considered as adding new features).
Both patterns are structural and have similarities, so they can be compared.

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Зарегистрируйся сейчас
или Подпишись на будущие тесты