recategorized by
1,028 views

3 Answers

0 votes
0 votes

Decorator is used to enhance the functionality of an object at run-time, i.e. it allows you to add new behavior to other objects at run-time.

So, option (2) is correct.

Answer:

Related questions

0 votes
0 votes
3 answers
2