Spring MCQ Quiz

  1. Spring is licensed under
  2. Spring is developed by
  3. Which one of following is an alternative to Spring HibernateTemplate
  4. Which of following method is used to gracefully shutdown all the bean processes after closing the spring container?
  5. What is the scope of bean in portlet context?
  6. Can we integrate Struts with Spring?
  7. What is the default scope of the beans?
  8. What is bean in Spring?
  9. How to use <ref> in spring framework?
  10. Which method is used to process bean before initialization callback
  11. Which tag is also allowed by static field?
  12. AOP stands for?
  13. Which element is used to specify access attributes for bean's methods.
  14. How many types of method injection are available in spring?
Spring MCQ

Take Spring Quiz To test your Knowledge 

Below are few Spring MCQ test that checks your basic knowledge of Spring. This Spring Test contains around 20 questions of multiple choice with 4 options. You have to select the right answer to a question. You can see the correct answer by clicking view answer link.

Also, Read Best Spring interview questions.

  • GNU
  • Apache License 2.0
  • GNU Lesser General Public License
  • Open source
View Answer
  • Red Hat Software
  • Daniel Fernández
  • Apache
  • Pivotal Software
View Answer
  • HibernateContext
  • Hibernate contextual sessions
  • All of the mentioned
  • None of the mentioned
View Answer
  • shutdownHook
  • destory method
  • session method
  • None of these
View Answer
  • global-session
  • session
  • request
  • prototype
View Answer
  • Prototype
  • session
  • Request
  • Singleton
View Answer
  • A component
  • An Object
  • A class
  • A container
View Answer
  • <ref> is used with bean id
  • <ref> is used with string values
View Answer
  • postProcessAfterInitialization()
  • scope
  • postProcessBeforeInitialization()
  • it's own constructor
View Answer
  • util:constant
  • list
  • constructor-args
  • set
View Answer
  • Asynchronous oriented programming
  • Aspect Oriented Programming
  • All Oops Program
View Answer
  • security:intercept
  • security:protect
  • security:intercept-security
  • none of above
View Answer
  • 4
  • 2
  • 8
  • 1
View Answer