what is the meaning of following code snippets
Class c=class.forName(driverClassName);
Driver d=(driver)c.newInstance();
Answer Posted / srikanth reddy
That is nothing but
Class c=class.forName(driverClassName);
loading the class into main memory dynamically
=====================================
Driver d=(driver)c.newInstance();
ie if already created instance returns thst otherwise it will a new instance and returns thst
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is jdbc databasemetadata interface?
any one can explain about policy file rule? when i connect database with applet then ther is no compile time error but the run time error is occureed.i.e access is denied.policy file rule is related to this problem.
What do you understand by jdbc datasource?
Explain the locking system in jdbc & its types?
What is difference between statement and preparedstatement in jdbc?
What are the common tasks of JDBC?
What is jdbc thin client in oracle?
What does connection pooling mean ?
How you restrict a user to cut and paste from the html page using java programing?
How MS-Access DB can be accessed over a network, using JDBC API?
How to check jdbc connection in linux?
Which Java and java.sql data types map to my specific database types?
Explain in detail about JDBC and its general features?
What are the different types of resultset?
List some new features available in jdbc 4.0?