Q. Which Design Pattern should you use when more than one object may handle a request, and the handler isn't known a priori. The handler should be ascertained automatically. (Solved)

1. observer

2. chain of responsibility

3. decorator

4. prototype

  • b. chain of responsibility
Subscribe Now

Get All Updates & News