View RSS Feed

Java Basic

Explain java class loaders

Rate this Entry
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.

Name:  45.JPG
Views: 704
Size:  29.8 KB

JVM Class Loader

Submit "Explain java class loaders" to Facebook Submit "Explain java class loaders" to Digg Submit "Explain java class loaders" to del.icio.us Submit "Explain java class loaders" to StumbleUpon Submit "Explain java class loaders" to Google

Categories
Class Loader

Comments