what exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail
Answer Posted / yash
In addition to above answers, using Class.forName the
instance of driver is automatically registered with the
DriverManager. Thus it saves us from the efforts of
creating new instance of driver and registering it with
DriverManager!!
Is This Answer Correct ? | 8 Yes | 3 No |
Post New Answer View All Answers
What are the different types of classes in the api component?
How do we call a stored procedure from jdbc?
Why is jdbc needed?
What does jdbc do?
Why “no suitable driver” error occurs?
Is jdbc a framework?
Name the types of jdbc drivers.
What is dburl?
What are the types of statements in jdbc?
What are the steps required to execute a query in jdbc?
What is the role of jdbc drivermanager class?
What are different parts of a url?
Why do we use jdbc statements?
What is metadata in jdbc?
How you restrict a user to cut and paste from the html page using java programing?