Sign In

Spring Interview Questions 2015 by

Q 1 - What is spring?
A - Spring is an open source development framework for enterprise Java.
B - Spring is a proprietary framework.
C - Spring is a development framework for .Net applications.
D - Spring is a development framework for PHP based applications.

Q 2 - Which of the following is correct assertion about spring?
A - Spring enables developers to develop enterprise-class applications using POJOs.
B - Spring is organized in a modular fashion.
C - Testing an application written with spring is simple because environment-dependent code is
moved into this framework.
D - All of above.

Q 3 - What is Dependency Injection?
A - It is a design pattern which implements Inversion of Control for software applications.
B - It is one of the spring module.
C - It is a technique to get dependencies of any project.
D - It is used to promote tight coupling in code.

Q 4 - Which of the following is correct about dependency injection?
A - It helps in decoupling application objects from each other.
B - It helps in deciding the dependencies of objects.
C - It stores objects states in database.
D - It stores object states in file system.

Q 6 - What is true about cross-cutting concerns?
A - The functions that span multiple points of an application are called cross cutting concerns.
B - Cross-cutting concerns are conceptually separate from the application's business logic.
C - Logging is one of the examples of cross cutting concerns.
D - All of the above.

Q 10 - Which of the statement is not correct?
A - Core and beans modules provide the fundamental parts of the framework, including
Dependency Injection feature.
B - The SpEL module provides a powerful Expression Language for querying and manipulating an
object graph at runtime.
C - Aspects module provides integration with AspectJ.
D - None of the above.

Q 11 - Which of the statement is correct?
A - The JDBC module provides a JDBC-abstraction layer that removes the need to do tedious JDBC
related coding.
B - The ORM module provides integration layers for popular object-relational mapping APIs, including
JPA, JDO, Hibernate, and iBatis.
C - The Java Messaging Service JMS module contains features for producing and consuming
messages.
D - All of the above.

Q 12 - Which of the statement is correct?
A - The AOP module provides aspect-oriented programming implementation allowing you to define
method-interceptors and pointcuts to cleanly decouple code that implements functionality that
should be separated.
B - The Aspects module provides integration with AspectJ - Which is again a powerful and mature
aspect oriented programming (AOP) framework.
C - The Instrumentation module provides class instrumentation support and class loader
implementations to be used in certain application servers.
D - All of the above.

Important Questions

While submitting answers below in the " Message " Section MAKE SURE you type Question Number and Answer (For Example : 1. A , 2. B , 3.C ) and also mention the part number(For example: part 1, or part 2, or part 3 ) of the questions you are answering.

We will mail you your result in 10 seconds.Mention Course Name as Subject