What happens when a class is loaded in Java?
When a class is loaded, the JVM compiles it into machine code before execution.
Thatâ€™s incorrect. Class loading doesnâ€™t involve compiling to machine code; the class is loaded as bytecode.
Can you explain the role of the JVM's Just-In-Time (JIT) compiler in the execution process?