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

Can an object be null?

547


What do you understand by the term singleton?

580


What does a method signature consist of?

509


What does it mean that a method or field is “static”?

548


Java is pass by value or pass by reference? Explain

534






What is an empty class? What functionality does it offer in Java?

673


What is lastindexof in java?

547


What is a jagged array in java?

536


Can a function return a function?

550


How do you reverse a string in java?

580


Can long be null in java?

544


What is a parent class in java?

542


What is a generic data type?

572


Explain hashset and its features?

579


can I implement my own start() method? : Java thread

552