Topics Index

Exploring java.lang >
Siva Nookala - 15 Apr 2016
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
    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.
  • Extensions Class Loader
    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.
  • System Class Loader
    Java classes that are available in the java classpath are loaded using System class loader.
  • 0
    Score more than 2 points

    © meritcampus 2019

    All Rights Reserved.

    Open In App