Basics of ClassLoaders in Java

The Classloaders in Java dynamically load Java classes into the Java Virtual Machine. Usually classes are only loaded on demand. By default, Java uses three class loaders, when JVM starts. Bootstrap classloader Extension classloader System classloader Following figure shows the role of each ClassLoader:- The ClassLoaders in Java works on…

Continue reading