Java Interview Questions Made Easy #2 What is the Classloader

preview_player
Показать описание
The Java ClassLoader is used to load .class files into the JVM at runtime.

There are three main types of classloaders:

- 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
Рекомендации по теме
Комментарии
Автор

I Think Order Of execution classloaders are Bootstrap, Extension and System Classloaders respectively.. means JVM first tries to load the class from Bootstrap classloader if not found then child classloader tries.. is my understanding is correct?

maddurkrishnachaitanya
Автор

next time better mix sound more echos there

petmik