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 exactly happens when we execute
"Class.forname("Driver class name");"?Explain indetail

Answer Posted / sangeeta

Class is a predefined class and forName is the static
method of the class which is used to load the driver in the
memory for connectivity.

For eg
Class.forName("sun.jsbc.odbc.JdbcOdbcDriver");

Is This Answer Correct ?    26 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version of JDBC? What are the new features added in that?

1043


How do we call a stored procedure from jdbc?

1025


What is a statement in java?

944


What does executequery return in java?

985


Is it possible to connect to multiple databases? Using single statement can we update or extract data from two or three or many databases?

1143


What is jdbc driver for sql server?

1057


What is type 4 jdbc driver?

899


How to know howmuch data is truncated?

2416


Why “no suitable driver” error occurs?

1138


The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

2299


What is jdbc odbc driver?

1084


What is jdbc thin client?

1014


Is jdbc database independent?

1015


What are the differences between execute, executequery, and executeupdate?

997


What is difference between statement and preparedstatement in jdbc?

956