← BYTES
Design Patterns·Starter·Ref: 17.1.9

What is the basic idea of the Chain of Responsibility pattern?

Have a question about this video? Mention reference 17.1.9 when you contact us.

a.Multiple objects execute simultaneously in parallel
b.A single object handles every possible type of request
c.A request is passed along a chain of potential handler objects until one of them handles it, decoupling the sender of a request from knowing exactly which object will handle it
d.Objects in the chain must execute in a fixed, hardcoded order with no flexibility
Chain of Responsibility passes a request along a chain of handler objects; each handler either processes the request or passes it to the next handler in the chain -- the sender doesn't need to know in advance which specific handler (if any) will ultimately deal with it.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES1719#DesignPatterns