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
Describe responsibilities of Activator?
How is a java object message delivered to a non-java client?
What is difference between object state and behavior?
when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??
What’s jboss cache in short?
When is the best time to validate input?
What are the pros and cons of detached objects?
we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?
Define aop(assepct oriented programing)?
What value does readline() return when it has reached the end of a file?
what is a portable component?
whats is mean by connectionpooling
What is the purpose of the wait() method?
what is an isolation level?
Have you used threads in Servelet?