what is the meaning of following code snippets
Class c=class.forName(driverClassName);
Driver d=(driver)c.newInstance();
Answer Posted / 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 |
Post New Answer View All Answers
How to test jdbc connection to sql server?
What is the use of jdbc api?
What protocol does jdbc use?
How you restrict a user to cut and paste from the html page using java programing?
What is jdbc and jpa?
What is JDBC Driver interface?
What does adapter class provide?
What is ojdbc14 jar?
Explain about the Try Block?
What are the standard isolation levels defined by JDBC?
Under what circumstances, that all four drivers are used?
Which jdbc driver is the fastest driver?
State the three different ways in which you can create a table?
What is getconnection method in java?
What is the purpose of the jdbc resultset interface?