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 are JDBC Best Practices?
What is jdbc driver manager?
What is JDBC?
3 Answers Akamai Technologies,
Hi to all.. well i want to make a standalone application which can use the concept of connection pooling, constraint is that i have not to use any application server like weblogic etc. Please help me out. Thaks in advance.
What is executequery in java?
Why is odbc needed?
What is an advantage of using the jdbc connection pool?
What's the benefit for specifying constraints like not null, primary key explicitly instead of specifying it against the column ?
What is meant by a ResultSet?
How do java applications access the database using jdbc?
Is jdbc part of j2ee?
what happen if we set JDBC string to NULL?