Home » JAVA Programming » Java Basic » Question
  1. Which design pattern suggest multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request?
    1. Bridge pattern
    2. State pattern
    3. Singleton pattern
    4. Chain of responsibility pattern
    5. 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.



Your comments will be displayed only after manual approval.