ClassLoader in Java is a class which is used to load class files in Java.
Class loaders can be broadly classified into Three types: Bootstrap class loader is responsible for loading standard JDK class files from rt.jar and it is a part of the core JVM.It is also known as Primordial ClassLoader in Java.Extension ClassLoader delegates class loading request to its parent, Bootstrap and if unsuccessful, loads class form jre/lib/ext directory or any other directory pointed by java.ext.dirs system property. Java classes that are available in the java classpath are loaded using System class loader.
|