in Education by
What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC? (a) prototype (b) singleton (c) request (d) session I had been asked this question at a job interview. The question is from Java Beans in division 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
Correct option is (b) singleton Explanation: Singleton scope of bean specifies only one instance per spring IOC container. This is the default scope.

Related questions

0 votes
    What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC? (a) prototype ... & 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 ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which attribute is used to specify destroy method? (a) destroy (b) destroy-method (c) destruction (d ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which option is true about session scope? (a) Objects are accessible only from the page in which they ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    The scope of a function is also called as ________ (a) Predefined function (b) Module function (c) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    How can you set a Cookie visibility scope to localStorage? (a) / (b) % (c) * (d) // I ... questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    What type of scope is present in JavaScript? (a) Lexical (b) Literal (c) Both Lexical and Literal ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which object serves as the global object at the top of the scope chain? (a) Hash (b) Property (c ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
0 votes
    Which of the following can be used to configure the scope of the Cookie visibility? (a) path (b) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 22, 2021 in Education by JackTerrance
0 votes
    What does Liskov substitution principle specify? (a) parent class can be substituted by child class (b) ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which file is used to specify the packaging cycle? (a) build.xml (b) pom.xml (c) dependency.xml ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
    Which environment variable is used to specify the path to maven? (a) JAVA_HOME (b) PATH (c) ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 24, 2021 in Education by JackTerrance
0 votes
0 votes
    Which property is used to specify the key type when pressed? (a) keyCode (b) keyType (c) keyName ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Oct 23, 2021 in Education by JackTerrance
...