Skip to content
Related Articles

Related Articles

UGC-NET | UGC NET CS 2017 Jan – II | Question 45
  • Last Updated : 23 Mar, 2018

A software design pattern used to enhance the functionality of an object at run-time is:
(A) Adapter
(B) Decorator
(C) Delegation
(D) Proxy


Answer: (B)

Explanation: Decorator is used to enhance the functionality of an object at run-time, i.e. it allows you to add new behaviour to other objects at run-time.
So, option (B) is correct.


Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :