Computer-Organization
October 6, 2023
Computer-Organization
October 6, 2023
Computer-Organization
October 6, 2023
Computer-Organization
October 6, 2023

Software-design

Question 9
A software design pattern used to enhance the functionality of an object at run-time is:
A
Adapter
B
Decorator
C
Delegation
D
Proxy
Question 9 Explanation: 
→ Software design pattern used to enhance the functionality of an object at run-time is Decorator.
→ Decorator will attach additional responsibilities to an object dynamically keeping the same interface.
→ Decorators provide a flexible alternative to subclassing for extending functionality.
Correct Answer: B
Question 9 Explanation: 
→ Software design pattern used to enhance the functionality of an object at run-time is Decorator.
→ Decorator will attach additional responsibilities to an object dynamically keeping the same interface.
→ Decorators provide a flexible alternative to subclassing for extending functionality.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!