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 difference between java class and bean?
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
What is the relationship between an event-listener interface and an event-adapter class?
When a thread blocks on i/o, what state does it enter?
What is a class loader? What are the different class loaders used by jvm?
Which component handles cluster communication in jboss?
Brief description about local interfaces?
How many times may an objects finalize() method be invoked by the garbage collector?
what is an isolation level?
how do you Handle Front End Application data against DB with example?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Is infobus easy to use?
Where can I ask questions and make suggestions about seam?
What event results from the clicking of a button?
What are the different approaches to represent an inheritance hierarchy?