Home »
MCQs »
Spring MCQs
Which of the following scope allows a single bean specification to have an unlimited number of object instances?
19. Which of the following scope allows a single bean specification to have an unlimited number of object instances?
- Singleton
- Prototype
- Session
- Global-session
Answer: B) Prototype
Explanation:
Prototype scope allows a single bean specification to have an unlimited number of object instances.