What is the role of the bootstrap class loader in Java's class loading mechanism?
The bootstrap class loader loads Java classes for the application, including core and user-defined classes.
Thatâ€™s partially correct. The bootstrap class loader only loads core Java classes from the JDK, not user-defined ones.
Can you explain the difference between the bootstrap class loader and the extension class loader in Java?