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

Does java isempty check for null?

562


Write a program to search a number in the given list of numbers.

621


What is an enumeration?

559


What is parameters example?

541


What is the advantage of functional interface in java 8?

511






How can we pass argument to a function by reference instead of pass by value?

577


What is static variable with example?

551


List down the methods and interfaces of collection class in java.

533


What is the difference between int and integer in java?

499


Explain covariant method overriding in java.

536


What are advantages and disadvantages of OOPs?

617


What is thread count in java?

537


Difference difference paint() and paintcomponent()?

523


What is double checked locking in singleton?

601


What is function declaration?

519