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 |
How can you load the drivers?
Which is better jpa or jdbc?
Result set’s index starts with 0 or 1?
How we can you use preparedstatement.
How does a custom RowSetReader get called from a CachedRowSet?
What is savepoint in jdbc?
What is the advantage of namedparameterjdbctemplate?
What packages are used by jdbc?
What is a jdbctemplate?
What is resultset in jdbc with example?
What is an escape syntax?
what is metadata and it's use?