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 addbatch jdbc?

0 Answers  


Explain the role of driver in jdbc.

0 Answers  


Why can't I invoke the ResultSet methods afterLast and beforeFirst when the method next works?

0 Answers  


What is JDBC Driver interface?

0 Answers  


What is jdbc? Describe the steps needed to execute a sql query using jdbc.

0 Answers  


How can you tune SQL statements?

2 Answers   Wipro,


What is jdbc in dbms?

0 Answers  


How can we store and retrieve images from the database?

0 Answers  


What are jdbc and its components?

0 Answers  


What is a merge field?

0 Answers  


What are the different types of statements in jdbc?

0 Answers  


What are the steps to connect to the database in java?

0 Answers  


Categories