Answer Posted / rajshekhar
class.forName() is used to load the jdbc driver.
class is a class and for name is a static method its syntax
is
Class.forName("sun.jdbc:odbc:JdbcOdbcDriver");
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Why is actionform a base class rather than an interface?
Can you give me a simple example of using the requiredif validator rule?
Define prototype?
To what value is a variable of the string type automatically initialized?
If your ui seems to freeze periodically, what might be a likely reason?
What are various types of class loaders used by jvm?
Java is fully object oriented languages or not?
How will you pass parameters in RMI? Why do you serialize?
When a thread blocks on i/o?
What’s jboss jbpm?
How many times may an objects finalize() method be invoked by the garbage collector?
Is the session factory thread safe?
Explain about local interfaces.
Why do I get a duplicate name error when loading a jar file?
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?