What are class loaders?
The class loader describes the behavior of converting a named class into the bits responsible for implementing that class.
Class loaders eradicate the JREs need to know anything about files and file systems when running Java programs.
A class loader creates a flat name space of class bodies that are referenced by a string name and are written as:
Class r = loadClass(String className, boolean resolveIt);
Describe the purpose of class loaders in Java.
A class loader describes the process of converting a named class into its equivalent binary form for execution. Class loaders loads classes into JVM at runtime. The classes are loaded into JVM by some instances of a java.lang.ClassLoader class. A class loader creates a flat naming space for body of a class that is referenced by a string name to uniquely identify a class implementation.