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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between hashmap and hashtable?

598


How are commas used in the intialization and iteration parts of a for statement?

573


Write a program to show synchronization?

677


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

605


What are callback interfaces?

581






What are the diff types of exception?

545


Define the remote object implementation?

1989


How to implement RMI in Java?

2389


Can I use multiple html form elements with the same name?

568


What is chat area? Explain.

548


For which statements does it make sense to use a label?

576


What are the steps to write p-to-p model application?

1946


What is synchronization and why is it important?

532


Can I import same package/class twice? Will the jvm load the package twice at runtime?

637


How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!

2543