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 does Class.forName return?

Answer Posted / rajiv

hi......
Class.forName() is basically used to load the diver. forName() is static method thats why its directly call with class name( i:e Class)
which return java.lang.class object. n with the help of that object we establish the connection with database.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ojvm used for?

1047


What is SQL Warning? How to retrieve SQL warnings in the JDBC program?

1110


Explain the various types of locking system in jdbc?

955


Does JDBC support stored procedures?

1066


What is the role of jdbc drivermanager class?

1126


Briefly tell about the jdbc architecture.

1057


How does jdbc driver work?

1041


What is a jdbc driver and how many jdbc drivers are available?

1128


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

1071


How can you retrieve data from the resultset using jdbc?

1147


How can I write to the log used by DriverManager and JDBC drivers?

1058


What is jdbc vs odbc?

1014


What is layer in communication?

943


What does executeupdate return in jdbc?

1020


Explain about Join?

1059