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 I determine the isolation levels supported by my DBMS?
What are the differences between execute, executequery, and executeupdate?
What are the different types of modifiers?
What are JDBC statements?
What is new in JDBC 2.0?
What is jdbc servlet?
Which type of JDBC driver is the fastest one?
What is the query used to display all tables names in SQL Server (Query analyzer)?
What is a statement in java?
Why do you use a data source object for a connection?
What are statements in JAVA ?
State the different connection methods used for creating different types of sql.