What is class loader? Explain the purpose of Bootstrap class loader.
Class loader finds and loads the class at runtime. Java class loader can load classes from across network or from other sources like HTTP, FTP etc.
Bootstrap class loader is responsible for loading classes that are used by JVM to function properly from “jdk/jre/lib/rt.jar”.
Explain Java class loaders? Explain dynamic class loading?
Class r = loadClass(String className, boolean resolveIt);
className : used to uniquely identify a class implementation.
resolveIt: a flag indicating the class loader that classes referenced be loaded as well.