Online Test

  • Facebook
  • Google
  • LinkedIn
  • Twitter
Question: 1
What is Advice?
This instruct object to behave in certain way.
Used to inject values in objects.
Used to take the real action either before or after the method execution.
Not invoked during the program execution by AOP framework.

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

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

Question: 4
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.

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

Question: 6
What are Different types of Autowire ? 
byName , byType, destructor and autodetect
byName , byMethod, constructor and autodetect
byName , byType, constructor and autocorrect
byName , byType, constructor and autodetect

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

Question: 8
What are different types of Bean Injections?
constructor and setter
constructor and getter
getter and setter
setter,getter and constructor

Question: 9
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.

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

      Advertisements