when we write class.forName("any one class"); what happens
actually?what it will return?explain stepwise?
Answer Posted / ram
Class.forName () takes the class name as parameter, and
loads that class in memory. But it doesn't create any
instance of that class.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Define an enumeration?
What are "class access modifiers" in Java?
What are passing parameters?
What are the two types of java?
What are loops in java? What are three types of loops?
How does arraylist work in java?
Does sprintf allocate memory?
What is the use of using enum to declare a constant?
What is sleep method?
What is java util concurrentmodificationexception?
What is yield () in java?
Can private members of a base class are inheritable justify?
What is byte code and why is it important to java’s use for internet programming?
What is the implementation of destroy method in java. Is it native or java code?
What is the purpose of void class?