Answer Posted / rajiv
hi......
Class.forName() is basically used to load the diver. forName() is static method thats why its directly call with class name( i:e Class)
which return java.lang.class object. n with the help of that object we establish the connection with database.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
How will you perform truncation using JDBC?
Explain about Join?
What is the JDBC syntax for using a literal or variable in a standard Statement?
What is jdbc odbc bridge in java?
What is jdbc and explain jdbc architecture?
What is jdbc databasemetadata interface?
What does the jdbc connection interface?
What is a jdbc connection pool?
What is meant by jdbc?
what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(driver)c.newInstance();
What are 4 drivers available in JDBC? At what situation are four of the drivers used?
Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?
Which interface is responsible for transaction management in jdbc?
Which package is used for jdbc application?
How to insert an image or raw data into database?