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 the different types of drivers under jdbc?
what is connection pooling?
Result set’s index starts with 0 or 1?
Why do we need jdbc driver?
What is the major difference between java.util.date and java.sql.date data type?
please tell me the name and url path for type-4 driver ?
is that compulsory to have Primarykey-forignkey for joints (outer inner,equal)
Describe odbc?
What is DML?
What is a connection string used for?
Is jdbc part of j2ee?
What is jdbc thin client in oracle?