what is class.forname() and how it will be useful ?

Answer Posted / keerthi

In java we are using class.forName("classname")in jdbc
for creating instance of driverclass at the same to
registering with drivermanager.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the exception hierarchy in java?

492


How do you override a method?

555


How does singleton class work?

533


How can I debug the Java security exceptions and AccessControlExceptions?

640


Can we able to pass objects as an arguments in java?

539






Can arraylist hold different types java?

492


What is the difference between choice and list?

594


How can you avoid serialization in child class if the base class is implementing the serializable interface?

641


What is formatted output in java?

503


What is methods and methodology?

538


Which class is the superclass for all the classes?

537


What about static nested classes in java?

592


List some oops concepts in java?

586


Write a program to solve producer consumer problem in java?

571


Write a program to reverse array in place?

596