Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The AppClassloader is responsible for loading classes from the classpath, including user-defined classes, while the SystemClassloader loads classes from the system classpath, including classes from the Java runtime environment. The AppClassloader is a subclass of the SystemClassloader and has a higher priority in loading classes. Additionally, the AppClassloader can be customized by adding additional classpath elements, whereas the SystemClassloader cannot be modified.