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...


whats is mean by class.forName()
whats the return type of class

Answers were Sorted based on User's Feedback



whats is mean by class.forName() whats the return type of class..

Answer / sujeev kr singh

class.forName() is a method to load the driver class.
Return type of this method is class object.
eg :- class.forName("sun.jdbc.odbc.jdbcodbcDriver")

Is This Answer Correct ?    1 Yes 1 No

whats is mean by class.forName() whats the return type of class..

Answer / vallepu veerendra kumar

Class.forName() is a predefined method present in predefined
class(Class)which is present in predefined java.lang
package, responsibility of this method is loading the given
class and it will register the specific driver for
connecting the database,its return type is:Class only
ex:Class.forName("oracle.jdbc.driver.OracleDriver") here
type4 driver i taken, you dont worry you will take ur self

Is This Answer Correct ?    0 Yes 0 No

whats is mean by class.forName() whats the return type of class..

Answer / habin

Its way to dynamically loading a class to Java run time environment.For example, when a new request comes to ur server,the request processor class has to be loaded to java run time.there this code is used.
class.forName("fully qualified name of request processor")

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Advanced Java Interview Questions

when we applied start()method on a thread ,how does it know that to execute run()method on that object?

2 Answers   HCL,


In our urls and in the text of the buttons we have comma. Its causing an error. Is there a way to change the delimiting character for the menu arguments?

0 Answers  


1) Scenario: I developed my application on local system and everything is perfect and tested. Now on UAT this application is deployed on clustered server environment. They are logical or physically clustered. But application is not working over there. &#61656; What is the issue with application? &#61656; What are the first things which come in your mind?

1 Answers   L&T,


What restrictions are placed on the location of a package statement within a source code file?

0 Answers  


how to get value in combo for updation?

1 Answers   CMC,


Why JDBC has introduced

4 Answers  


What is the RMI and Socket?

0 Answers  


what is diff between Access modifier and specifier?

5 Answers   L&T,


What will happens, when a thread cannot acquire a lock on an object?

2 Answers  


Write a program on RMI and JDBC using StoredProcedure?

1 Answers  


What is servlet preinitialization?

3 Answers   iFlex,


explain session tracking. why we used it

3 Answers   Lionbridge,


Categories