Java Interview Questions Made Easy #2 What is the Classloader
Dan Geabunea (Romanian Coder)
0:00 / 0:00
Java Interview Questions Made Easy #2 What is the Classloader
29 369 просмотров · 8 лет назад
Dan Geabunea (Romanian Coder)
18,9 тыс. подписчиков
29 369 просмотров · 8 лет назад
The Java ClassLoader is used to load .class files into the JVM at runtime.
There are three main types of classloaders:
Bootstrap classloader (loads all the Java core libraries like java.lang)
Extension classloader (loads classes defined in jar files at
$JAVA_HOME$\lib\ext)
System classloader (loads classes from the CLASSPATH)*
*All classes that you write in your program and all the dependencies from imported JARs are loaded by the System class loader