Java Basic
- Which attribute is used to specify destroy method?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
destroy-method is used to specify the destruction method.
- Which attribute is used to specify initialization method?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
init-method is used to specify the initialization method.
- What is the attribute of java bean to specify scope of bean to have single instance per Spring IOC?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: D
Singleton scope of bean specifies only one instance per spring IOC container. This is the default scope.
- Which of the following is not a feature of Beans?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Serialization is not the feature of Java Beans. Introspection, Customization, Events, Properties and Persistence are the features.
- Java Beans are extremely secured?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
JavaBeans do not add any security features to the Java platform.