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 addbatch jdbc?
Explain the role of driver in jdbc.
Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?
What is JDBC Driver interface?
What is jdbc? Describe the steps needed to execute a sql query using jdbc.
How can you tune SQL statements?
What is jdbc in dbms?
How can we store and retrieve images from the database?
What are jdbc and its components?
What is a merge field?
What are the different types of statements in jdbc?
What are the steps to connect to the database in java?