Can i know what are methods that a classloader calls when it is loading the class

Showing Answers 1 - 1 of 1 Answers

Madhavikari

  • May 10th, 2006
 

For loading the class class.forName("class name");

It just load the class only.

For creating the instance for this class class.forName("class name").newInstance();

One another way for loading the class is ClassLoader. ClassLoader is an abstract class and for loading the class we will call loadClass() method.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions