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

How can I get or redirect the log used by DriverManager and JDBC drivers?

0 Answers  


What are the functions of the jdbc connection interface?

0 Answers  


Is there any limitation for no of statments executed with in batchupdate?

2 Answers   HSBC, IBM,


How many types of JDBC drivers are there and what are they?

2 Answers   TCS,


What are different types of ResultSet?

0 Answers  


What is a JDBC 2.0 DataSource?

0 Answers  


What is com mysql jdbc driver?

0 Answers  


How can I get information about foreign keys used in a table?

0 Answers  


What is transaction processing in jdbc?

0 Answers  


Why do we need a jdbcrowset like wrapper around resultset?

0 Answers  


What are the utilities of the callablestatement?

0 Answers  


Why do we need jdbc api?

0 Answers  


Categories