How does the HotSpot JVM handle class loading?
HotSpot loads classes dynamically at runtime using a class loader, which allows it to optimize memory usage and load classes on demand.
Great! You've correctly described the class loading mechanism in HotSpot.
Can you explain how the HotSpot class loader hierarchy works, and how it determines which class loader to use?