what is class.forname() and how it will be useful ?
Answer Posted / amit singh
it is useful when you don't know about the class as compile
time you must to use it you pass the class name as a string
its a part of reflection api
but you used it when you connect through db
and many more you should do when you don't know the class
at compile time
and also above which mention by pradip right
amit09mca(scjp 1.5 and manymore)
|Is This Answer Correct ?||5 Yes||0 No|
Explain what are final variable in java?
Can we catch more than one exception in a single catch block?
enlist some features of jdk.
How are observer and observable used in java programming?
Does unicode support all languages?
What is thread safe in java?
Why are data types important?
How many bits is a boolean?
What is a local class in java?
What is unicode used for?
What is difference between static and abstract class?
Difference between arraylist and vector.
What are the types of exceptions?
Does isempty check for null?
Explain the difference between intermediate and terminal operations in java8?