Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the use of Class.forName

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


Please Help Members By Posting Answers For Below Questions

Why is actionform a base class rather than an interface?

1117


Can you give me a simple example of using the requiredif validator rule?

1191


Define prototype?

1130


To what value is a variable of the string type automatically initialized?

1177


If your ui seems to freeze periodically, what might be a likely reason?

1119


What are various types of class loaders used by jvm?

1046


Java is fully object oriented languages or not?

1074


How will you pass parameters in RMI? Why do you serialize?

1322


When a thread blocks on i/o?

1173


What’s jboss jbpm?

1090


How many times may an objects finalize() method be invoked by the garbage collector?

1145


Is the session factory thread safe?

1239


Explain about local interfaces.

1121


Why do I get a duplicate name error when loading a jar file?

1203


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

1109