15 April, 2013

Class loader in java





Class loader in java:
·          Responsible for loading appropriate classes in the JVM at the runtime.
·          When the JVM starts, initially only the class file is loaded and other classes are loaded as and when required by the JVM.
a)   bootstrap :         loads the key classes like i18.jar,rt.jar
b)   ExtClassLoader :    loads the class which is there in lib/ext folder
c)   System: loads classes from system classpath which is set by CLASSPATH variable.

No comments:

Post a Comment