What is Bootstrap, Extension and System Class loader in Java?The Bootstrap class loader loads key Java classes. Bootstrap class loader loads the basic classes from Java library, like java.*, javax.*. This is the root in the class loader hierarchy.
The Extension class loader loads the classes from the JRE’s extension directories, such lib/ext directories
The System class loader loads the classes from the system class path, which are set by the CLASSPATH environment variable.