Explain java class loaders
by, 01-08-2012 at 11:47 AM (1794 Views)
Classes are loaded into JVM when there are referenced by already running classes in JVM. Itís a hierarchical process. First class that is loaded contains a static main method. All the remaining classes are loaded when they are referenced by main class or any other class that is running in JVM. A namespace is created by the class loaded. One class loader is embedded into JVM by default and it is called bootstrap class loader. Following figure explains the class loading process.
JVM Class Loader