Home »
MCQs »
Spring MCQs
Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?
18. Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?
- Singleton
- Prototype
- Session
- Global-session
Answer: A) Singleton
Explanation:
Singleton scope, restricts the bean specification to a single instance per Spring IoC container.