in Education by
Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry out operations on the request? (a) Singleton pattern (b) Chain of responsibility pattern (c) State pattern (d) Bridge pattern This question was addressed to me in final exam. The query is from Design Patterns topic in section Java Beans & JDBC of Java Select the correct answer from above options JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
The correct choice is (b) Chain of responsibility pattern The explanation: 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.

Related questions

0 votes
    Which design pattern suggests multiple classes through which request is passed and multiple but only relevant classes carry ... of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
0 votes
    Which of the below is not a valid design pattern? (a) Singleton (b) Factory (c) Command (d) ... , JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which of the below is not a valid classification of design pattern? (a) Creational patterns (b) Structural ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
     request is instance of which one of the following classes? (a) Request (b) HttpRequest (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Is design pattern a logical concept. (a) True (b) False The question was asked by my college ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which object is passed as the argument to handlers for keydown, keyup, and keypress events? (a) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
0 votes
    Which of these packages contains all the classes and methods required for even handling in Java? (a) java. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
...