whats is mean by class.forName()
whats the return type of class
Answer Posted / 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 |
Post New Answer View All Answers
Can I run seam outside of jboss as?
What are the call back methods in entity bean?
Do I need to import javlang package any time? Why ?
What is a class loader?
Difference between new operator and class.forname().newinstance()?
What is the diffrence between a local-tx-datasource and a xa-datasource?
What is jboss?
Can I use multiple html form elements with the same name?
Can I run seam with jdk 1.4 and earlier?
Difference between hashmap and hashtable?
whats is statement and procedure
What are the design considerations while making a choice between using interface and abstract class?
What is the purpose of the notifyall() method?
What you mean by COM and DCOM?
Explain phantom read?