Answer Posted / amol sawant
Class.forName(driver);
in this "Class" is the name of the Object of "Class" class
which is in sql package
and forName();
is method of that class "Class"
it will load the driver for connection purpose
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
Can I import same package/class twice? Will the jvm load the package twice at runtime?
How can I avoid validating a form before data is entered?
What is the purpose of the wait(), notify(), and notifyall() methods?
What is a class loader? What are the different class loaders used by jvm?
Why are my checkboxes not being set from on to off?
How would you detect a keypress in a jcombobox?
What are the benefits of detached objects?
Explain RMI Architecture?
What restrictions are placed on the location of a package statement within a source code file?
What is the difference between session and entity beans?
Can I have an action without a form?
Why do threads block on i/o?
What is the difference between a menuitem and a checkboxmenuitem?
What is JTS?
What are the design considerations while making a choice between using interface and abstract class?