InterviewSolution
Saved Bookmarks
| 1. |
What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?(a) prototype(b) singleton(c) request(d) sessionI had been asked this question at a job interview.The question is from Java Beans in division Java Beans & JDBC of Java |
|
Answer» CORRECT OPTION is (B) singleton Explanation: Singleton scope of BEAN specifies only one instance per SPRING IOC container. This is the default scope. |
|