What is JVM and how does it work in java?
Utilisateur anonyme
JVM is Java Virtual Machine which is a runtime environment that executes Java bytecode. The Java compiler first converts source code into platform-independent bytecode, and the JVM then loads it, verifies it, and executes it using an interpreter and JIT compiler. It also manages memory (heap, stack, method area) and performs garbage collection.