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 difference between jdbc and odbc?
What is difference between java.util.Date and java.sql.Date?
Briefly tell about the jdbc architecture.
What are the factors that the jdbc driver performance depends upon?
How many locking systems are there in jdbc?
How to get the Database server details in java program?
What is the difference between Minus, and Intersect?
How to find number of records in result set?
Is possible to open a connection to a database with exclusive mode with JDBC?
What are the classes and methods used for sending sql statements to database?
How to rollback a JDBC transaction?
How to check jdbc connection in java?