View RSS Feed

Class Loader

Java Class Loader

  1. Explain java class loaders

    by , 01-08-2012 at 10:47 AM
    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.

    Name:  45.JPG
Views: 640
Size:  29.8 KB
    ...
    Categories
    Class Loader