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 : C

Explanation

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

Q 7 - Which of the following is part of Data Access layer in Spring framework?

A - Beans

B - Aspects

C - JMS

D - Context

Answer : C

Explanation

JMS is the part of Data Access layer in Spring framework.

Q 8 - If a bean is scoped to HTTP request, scope is

A - session

B - global-session

C - prototype

D - request

Answer : D

Explanation

If a bean is scoped to HTTP request, scope is request.

Q 9 - If a bean can be created any number of times, scope is

A - session

B - global-session

C - prototype

D - request

Answer : C

Explanation

In prototype scope, a bean can be created any number of times.

Answer : C

Explanation

ACID stands for Atomicity, Consistency, Isolation, Durability.

spring_questions_answers.htm
Advertisements