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 meaning of following code snippets
Class c=class.forName(driverClassName);
Driver d=(driver)c.newInstance();



what is the meaning of following code snippets Class c=class.forName(driverClassName); Driver d=(d..

Answer / srikanth reddy

That is nothing but
Class c=class.forName(driverClassName);
loading the class into main memory dynamically

=====================================

Driver d=(driver)c.newInstance();
ie if already created instance returns thst otherwise it will a new instance and returns thst

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More JDBC Interview Questions

What is jdbc driver?

0 Answers  


What is jdbc odbc connection?

0 Answers  


How to execute bulk number of queries at once?

3 Answers   Wipro,


Which interface is responsible for transaction management in jdbc?

0 Answers  


What is jdbc stand for?

0 Answers  


How can you make a connection?

0 Answers  


password, is stored in as plain text. What can I do to protect my passwords?

0 Answers  


what does the method Class.forName returns?

4 Answers   Siemens, TCS,


What is JDBC Transaction Management and why do we need it?

0 Answers  


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

0 Answers  


Where can I find ojdbc14 jar file?

0 Answers  


How does JDBC differ from ODBC?

7 Answers  


Categories