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
I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?
How to read and write image from a file ?
Is null an object java?
What is the use of runnable interface?
What is namespace in java?
What is main in java?
Tell me the latest versions in java related areas?
Can we override constructors in java?
What are the important features of Java 11 release?
What is purpose of find feature?
Explain what access modifiers can be used for methods?
Which arithmetic operations can result in the throwing of an arithmeticexception?
Can we write multiple catch blocks under single try block?
What is meant by data hiding in java?
List types of storage classes in java?