whats is mean by class.forName()
whats the return type of class
Answer Posted / garima
Class.forName() is other way to create an object other
than new.This Returns class object assosiated with class or
interface with specified name.For example,
Class t=Class.forName("java.lang.Thread");return runtime
class descriptor for class named java.lang.Thread
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is the difference between java class and bean?
What is in-memory replication?
Do I have to use jsps with my application?
Why is actionform a base class rather than an interface?
Difference between hashmap and hashtable?
Why are my checkboxes not being set from on to off?
What is the purpose of the finally clause of a try-catch-finally statement?
What are the benefits of detached objects?
How a component can be placed on Windows?
To identify IDL language what mapping mechanism is used?
What classes of exceptions may be caught by a catch clause?
What is the argument type of a programs main() method?
what are memory considerations of jsp compares to other web components?
What is threadfactory?
What do you mean by Socket Programming?