what is the meaning of following code snippets
Class c=class.forName(driverClassName);
Driver d=(driver)c.newInstance();
Answer / 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 |
What is jdbc driver?
What is jdbc odbc connection?
How to execute bulk number of queries at once?
Which interface is responsible for transaction management in jdbc?
What is jdbc stand for?
How can you make a connection?
password, is stored in as plain text. What can I do to protect my passwords?
what does the method Class.forName returns?
What is JDBC Transaction Management and why do we need it?
How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?
Where can I find ojdbc14 jar file?
How does JDBC differ from ODBC?