Spring Online Quiz


Advertisements


Following quiz provides Multiple Choice Questions (MCQs) related to Spring Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Answer : A

Explanation

JDBC, ORM, OXM, JMS, Transactions are the modules of Data Access/ Integration layer.

Answer : D

Explanation

All of the above statements are correct.

Q 3 - What is default scope of bean in Spring framework?

A - singleton

B - prototype

C - request

D - session

Answer : A

Explanation

singleton is the default scope of any spring bean.

Q 7 - Core container has AOP as one of its module.

A - True

B - False

Answer : B

Explanation

AOP is not the part of spring core container.

Q 8 - By default a bean is eagerly loaded.

A - False

B - True

Answer : B

Explanation

By default a bean is eagerly loaded.

Answer : D

Explanation

Using registerShutdownHook() method, shut down of IoC container can be handled. Other methods do not exists.

Q 10 - Which of the following class can be used to call Stored Procedures in spring?

A - SPHelper

B - JdbcTemplateCall

C - JdbcTemplate

D - SimpleJdbcCall

Answer : D

Explanation

SimpleJdbcCall class can be used to call Stored Procedures in spring.


spring_questions_answers.htm

Advertisements