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 do you determine the sensitivity of the ResultSet object?
What is jdbc and odbc?
What are common JDBC Exceptions?
What is the difference between ojdbc6 and ojdbc7?
Is jdbc a middleware?
What is jdbc driver for sql server?
What are devices?
How do I set properties for a JDBC driver and where are the properties stored?
Why is odbc needed?
Why do you use a data source object for a connection?
What is 2 phase commit?
What is jdbc and its advantages?
What does it mean to "materialize" data?
DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?
What is jdbc resultsetmetadata interface?