View RSS Feed

Java Basic

Basic Java programming tutorials for learning Java fundamentals.

  1. Explain java class loaders

    by , 01-08-2012 at 11: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: 704
Size:  29.8 KB
    Class Loader