Spring Online Quiz



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

AOP stands for Aspect Oriented Programming.

Answer : D

Explanation

All of the above statements are correct.

Answer : C

Explanation

<map> tag is used to inject a collection of name-value pairs where name and value can be of any type.

Q 6 - What are the different points where weaving can be applied?

A - Compile time, load time

B - Compile time, run time

C - Run time

D - Compile time, load Time, Run time

Answer : D

Explanation

Weaving can be applied at Compile time, load Time and Run time.

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 - Can we integrate Struts with Spring.

A - Yes

B - No

Answer : A

Explanation

Struts can be integrated with spring.

Answer : D

Explanation

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

Answer : B

Explanation

BeanPostProcessor is an interface.

spring_questions_answers.htm
Advertisements