SOFTWARE DESIGN
DESIGN PATTERNS
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
Chain of Responsibility is a structural design pattern that lets you pass requests along a chain of handlers.
|
true
|
|
false
|
|
Either A or B
|
|
None of the above
|
Explanation:
Detailed explanation-1: -Chain of Responsibility is a behavioral design pattern that lets you pass requests along a chain of handlers. Upon receiving a request, each handler decides either to process the request or to pass it to the next handler in the chain.
Detailed explanation-2: -The Chain Of Responsibility design pattern involves having a chain of objects that are together responsible for handling a request. When a client sends a request, the first handler will try to process it. If it can process it, then the request processing ends here.
There is 1 question to complete.