| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. To start the Derby server in the client/server mode.

Correct Answer is : startNetworkServer script

2. JDBC Properties for Connecting to the Application Database.

Correct Answer is : All of the mentioned

3. The general purpose of the Data Access Object (DAO) pattern is to avoid these logic related problems by separating data access logic from business logic and presentation logic.

Correct Answer is : TRUE

4. To access the database with JDBC:-

Correct Answer is : DAO interface

5. Standard interface defined by the JDBC specification that factories Connection instances.

Correct Answer is : javax.sql.DataSource

6. Data source implementations provided by different vendors and projects.

Correct Answer is : All of the mentioned

7. Spring also provides several convenient but less powerful data source implementations.

Correct Answer is : DriverManagerDataSource

8. SingleConnectionDataSource (a DriverManagerDataSource subclass). As its name indicates, this maintains only a single connection.

Correct Answer is : TRUE

9. Which DataSource is not stable in MultiThreaded Environment?

Correct Answer is : All of the mentioned

10. Which of the following is used to convert property values to text Values?

Correct Answer is : property Editor

11. Which property editor is used to specify a URL String for a property of the URL type?

Correct Answer is : java.net.URL

12. Which interface is used to create your own property editors?

Correct Answer is : CustomEditorConfigurer

13. Which of the following property editors are registered by Spring?

Correct Answer is : FileEditor

14. What are the ways to create custom Property Editors?

Correct Answer is : all of the mentioned

15. Method which converts property into a string value

Correct Answer is : getAsText

16. Method that converts string into a property value

Correct Answer is : setAsText

17. The property value is retrieved by:-

Correct Answer is : all of the mentioned

18. For a property editor to be searched correctly, it must be located in the same package as the target class, and the name must be Editor’s name

Correct Answer is : FALSE

19. Which package is used for periodic work

Correct Answer is : java.util.TimerTask

20. Which subinterface provides functionality for managing Threads and their events

Correct Answer is : ExecutorService