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

1 Answer

0 votes
by
 
Best answer
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 ensures that only one object of particular class gets created? (a) Singleton pattern (b) Filter ... JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which design pattern provides a single class which provides simplified methods required by client and delegates call to ... of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the below is not a valid design pattern? (a) Singleton (b) Factory (c) Command (d) Java I got ... Java Beans & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the below is not a valid classification of design pattern? (a) Creational patterns (b) Structural patterns ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which design pattern represents a way to access all the objects in a collection? (a) Iterator pattern (b) Facade ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Is design pattern a logical concept. (a) True (b) False The question was asked by my college director while I ... Beans & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    What does MVC pattern stands for? (a) Mock View Control (b) Model view Controller (c) Mock View Class (d) ... Beans & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following contains both date and time? (a) java.io.date (b) java.sql.date (c) java.util.date ... Beans & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is not an Enterprise Beans type? (a) Doubleton (b) Singleton (c) Stateful (d) Stateless ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is not true about Java beans? (a) Implements java.io.Serializable interface (b) Extends java. ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which file separator should be used by MANIFEST file? (a) / (b) \ (c) - (d) // The question was asked ... Java Beans & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is correct error when loading JAR file with duplicate name? (a) java.io.NullPointerException ( ... JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which of the following is not a feature of Beans? (a) Introspection (b) Events (c) Persistence (d) Serialization ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
0 votes
    Which attribute is used to specify initialization method? (a) init (b) init-method (c) initialization (d) ... & JDBC of Java Select the correct answer from above options...
asked Feb 22, 2022 in Education by JackTerrance
...