-
Junior Member
-
Junior Member
Re: What is class loader
It will load the required class into memory (VM).
The 'loadClass' method in 'ClassLoader' performs these tasks, in order, when called to load a class:
1. If a class has already been loaded, it returns it.
2. Otherwise, it delegates the search for the new class to the parent class loader.
3. If the parent class loader does not find the class, loadClass calls the method findClass to find and load the class.
for more please refer : http://java.sun.com/docs/books/tutor...sics/load.html
-
Contributing Member
Re: What is class loader
A class loader is an object that is responsible for loading classes. The class ClassLoader is an abstract class. Given the name of a class, a class loader should attempt to locate or generate data that constitutes a definition for the class. A typical strategy is to transform the name into a file name and then read a "class file" of that name from a file system.
Read More Information
Please try to use google...You can get more...
------------------------
suresh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules