-
Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
-
- Bridge pattern
- State pattern
- Singleton pattern
- Chain of responsibility pattern
- None of these
Correct Option: D
Chain of responsibility pattern creates a chain of receiver objects for a particular request. The sender and receiver of a request are decoupled based on the type of request. This pattern is one of the behavioral patterns.