Home » JAVA Programming » Java Basic » Question
  1. What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?
    1. request
    2. session
    3. prototype
    4. singleton
    5. None of these
Correct Option: D

Singleton scope of bean specifies only one instance per spring IOC container. This is the default scope.



Your comments will be displayed only after manual approval.