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
Define preparedstatement.
Is jdbc faster than hibernate?
What do you understand by DDL and DML statements?
What is odbc and jdbc drivers?
What is odbc. how is it related to sql cli?
What is jdbc databasemetadata interface?
Briefly tell about the jdbc architecture.
How MS-Access DB can be accessed over a network, using JDBC API?
What does the jdbc driver interface do?
What is database deadlock ?
How does a file store compare with a jdbc store?
What is device controller?
How can we store the file in the oracle database?
What driver should I use for scalable Oracle JDBC applications?
Why can't Tomcat find my Oracle JDBC drivers in classes111.zip?