What is static Synchronized method in JDBC API? Give an
example?

Answers were Sorted based on User's Feedback



What is static Synchronized method in JDBC API? Give an example?..

Answer / indrani

getConnection is the synchronised and static method

Is This Answer Correct ?    36 Yes 3 No

What is static Synchronized method in JDBC API? Give an example?..

Answer / anilbabu

yes this is correct and good answer

Is This Answer Correct ?    3 Yes 0 No

What is static Synchronized method in JDBC API? Give an example?..

Answer / venkat

getConnection is not synchronized method,but it is static

registerDriver(java.sql.driver);
deregisterDriver(java.sql.driver);
 the above two methods are synchronized methods
if any one have doubet

go to command prompt type following command

javap java.sql.DriverManager

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More JDBC Interview Questions

Is jdbc an api?

0 Answers  


What is jdbc driver?

0 Answers  


What is db client?

0 Answers  


What is JDBC Connection? Explain steps to get Database connection in a simple java program.

0 Answers  


How can I get or redirect the log used by DriverManager and JDBC drivers?

0 Answers  






How can we store the file in the oracle database?

0 Answers  


What is the purpose of jdbc?

0 Answers  


What is encrypted connection?

0 Answers  


What are the three basic components of the odbc architecture?

0 Answers  


Is jdbc open source?

0 Answers  


What are devices?

0 Answers  


How to rollback a JDBC transaction?

0 Answers  


Categories