What is the `getClassLoader()` method used for in Java?
The `getClassLoader()` method returns the class loader that is responsible for loading the current class, which can be either system or user-defined.
Thatâ€™s partially correct. The `getClassLoader()` method does return the loader, but the specific class loader returned depends on whether it's a system class or user-defined class.
Can you explain what happens when `getClassLoader()` is called on a class that is loaded by the bootstrap class loader?