Online Test

  • Facebook
  • Google
  • LinkedIn
  • Twitter
1 . Question :
          What is @Controller annotation?
          
This annotation indicates that a particular class serves the role of a controller.
This annotation indicates how to control the transaction management.
This annotation indicates how to control the dependency injection.
This annotation indicates how to control the security.

2 . Question :
          What is a DispatcherServlet?
          
This is used for AOP.
This is used for transaction management.
This handles all the HTTP requests and responses.
This is used for Dependency injection.

3 . Question :
          IOC or DI is a 
          
Design Pattern
Framework
Java Module
ORM Framework

4 . Question :
          Which is not the IoC containers in Spring?
          
BeanFactory
ApplicationContext
BeanContext
None of the above

5 . Question :
          Which is not the IoC containers in Spring?
          
BeanFactory
IocContextFactory
ApplicationContext
None of the above

6 . Question :
          What AOP stands for?
          
Aspect Oriented Programming
Any Object Programming
Application Oriented Programming
Asset Oriented Protocol

7 . Question :
          What is aspect?
          
It is a way to do the dependency injection.
It used to log information of application.
It allows you to abstract the cross-cutting code into a separate module
None of the above

8 . Question :
          Which is true for <set> collection configuration elements?
          
Used in wiring a list of values but without duplicates.
Used in wiring a list of values with duplicates.
It might be used to inject collection of name and value pairs of any type.
None of the above

9 . Question :
          Which exception class is related to all the exceptions that are thrown in spring applications? 
          
ArrayIndexOutofBound
DataAccessException
NullPointerException
SpringException

10 . Question :
          Which class work as IOC Container?
          
ServletContext
ApplicationContext
DispatcherContext
None of the above

      Advertisements