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 determine the isolation levels supported by my DBMS?

0 Answers  


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

0 Answers  


What are the different types of modifiers?

2 Answers  


What are JDBC statements?

2 Answers  


What is new in JDBC 2.0?

0 Answers  


What is jdbc servlet?

0 Answers  


Which type of JDBC driver is the fastest one?

0 Answers  


What is the query used to display all tables names in SQL Server (Query analyzer)?

0 Answers  


What is a statement in java?

0 Answers  


Why do you use a data source object for a connection?

0 Answers  


What are statements in JAVA ?

1 Answers   CTS,


State the different connection methods used for creating different types of sql.

0 Answers  


Categories