How does the HotSpot JVM handle class loading?
HotSpot loads classes when they are referenced by the application and uses a single global class loader for all classes.
Thatâ€™s partially correct. While HotSpot does load classes on demand, it uses a hierarchy of class loaders, not just one global class loader.
Can you explain the difference between the system class loader and the extension class loader in HotSpot?