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 does Class.forName return?

Answer Posted / prashant

Class.forNmae first loads the class in current classLoader so as to use that in future. Internally DriverManager gets the reference of the driver by using dynamic laoding (nothing is magical) this is is the reason when you say manager.GetConnection() it returns connection using the loaded driver

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jdbc secure?

914


Is not bound in this context unable to find jdbc spring boot?

847


What is represented by the connection object?

1015


Explain the role of driver in jdbc.

939


What is the return type of class.forname() method?

905


Explain the difference between resultset and rowset in jdbc

954


How do I connect to jdbc?

873


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

883


What is the meaning of connection?

907


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

921


What are the ddl statements?

807


How do I insert an image file (or other raw data) into a database?

915


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

914


What do you understand by jdbc statements?

967


How many categories of jdbc drivers are there?

852