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

AOP stands for Aspect Oriented Programming.

Q 2 - Which is the correct implementation class of BeanFactory?

A - XmlBeanFactory

B - ClassPathBeanFactory

C - FileSystemBeanFactory

D - AdvancedBeanFactory

Answer : A

Explanation

XmlBeanFactory is the implementation class of BeanFactory. Other mentioned classes do not exists.

Answer : C

Explanation

Hibernate can be accessed by both ways either using Inversion of Control with a Hibernate Template and Callback or extending HibernateDAOSupport and applying an AOP Interceptor node.

Q 8 - Thread scoped bean is introduced in which version of spring framework.

A - 1.0

B - 2.0

C - 3.0

D - 4.0

Answer : C

Explanation

Thread scoped bean is introduced in 3.0 version of spring framework.

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

Explanation

DispatcherServlet is defined in web.xml of web application.

spring_questions_answers.htm

Useful Video Courses


Video

Mastering Spring Framework

102 Lectures 8 hours

Karthikeya T

Video

Spring Boot: A quick tutorial guide

39 Lectures 5 hours

Chaand Sheikh

Video

Vue JS + Spring Boot Microservices and Spring Cloud

73 Lectures 5.5 hours

Senol Atac

Video

Step By Step React Native Hybrid Mobile App With Spring Boot

62 Lectures 4.5 hours

Senol Atac

Video

React Full Stack Web Development With Spring Boot

67 Lectures 4.5 hours

Senol Atac

Video

Angular 8 Full Stack Development With Spring Boot

Best Seller

69 Lectures 5 hours

Senol Atac

Advertisements