Spring MCQ Question and Answer for Freshers
Categories: MCQS
Spring MCQ Question and Answer for Freshers
1. Spring is authorized under
- GNU
- Apache Permit 2.0
- GNU Lesser Overall population Permit
- Open source
Answer: Apache Permit 2.0
2. Spring is created by
- Red Cap Programming
- Daniel Fernández
- Apache
- Critical Programming
Answer: Critical Programming
3. Which one of following is a choice to Spring HibernateTemplate
- Rest context oriented meetings
- HibernateContext
- All of the referenced
- None of the referenced
Answer: Rest context oriented meetings
4. Which of following strategy is utilized to nimbly closure all the bean processes in the wake of shutting the spring compartment?
- destory technique
- shutdownHook
- meeting technique
- None of these
Answer: shutdownHook
5. What is the extent of bean in portlet setting?
- meeting
- worldwide meeting
- demand
- model
Answer: worldwide meeting
6. Might we at any point incorporate Swaggers with Spring?
- Indeed
- No
Answer: Indeed, we can.
7. What is the default extent of the beans?
- Model
- meeting
- Demand
- Singleton
Answer: Singleton
8. What is bean in Spring?
- A part
- An Article
- A class
- A holder
Answer: an article
9. How to utilize <ref> in spring system?
- is utilized with bean id
- is utilized with string values
Answer: is utilized with bean id
10. Which strategy is utilized to handle bean before instatement callback
- postProcessAfterInitialization()
- scope
- postProcessBeforeInitialization()
- it's own constructor
Answer: postProcessBeforeInitialization()