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 difference between jdbc and odbc?

0 Answers  


What is difference between java.util.Date and java.sql.Date?

0 Answers  


Briefly tell about the jdbc architecture.

0 Answers  


What are the factors that the jdbc driver performance depends upon?

0 Answers  


How many locking systems are there in jdbc?

0 Answers  


How to get the Database server details in java program?

0 Answers  


What is the difference between Minus, and Intersect?

1 Answers  


How to find number of records in result set?

2 Answers  


Is possible to open a connection to a database with exclusive mode with JDBC?

0 Answers  


What are the classes and methods used for sending sql statements to database?

0 Answers  


How to rollback a JDBC transaction?

0 Answers  


How to check jdbc connection in java?

0 Answers  


Categories