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
What is the relationship between an event-listener interface and an event-adapter class?
What state does a thread enter when it terminates its processing?
Can I map more than one table in a cmp?
What is a modular application?
Do I need to import javlang package any time? Why ?
What is the difference between a static and a non-static inner class?
What is clustering? What are the different algorithms used for clustering?
If we opened Windows Internet Explorer 4 times, does it starts 4 processes or 4 threads?
Is infobus easy to use?
If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?
Can you control when passivation occurs?
Can constructors be synchronized in java?
What is a class loader?
what are RemoteObjects?
What is colon_pkg_prefixes and what is its use?