Java Virtual Machine. What is JVM in Java #shorts #coding

preview_player
Показать описание
JVM – Java virtual machine is used to run our compiled java program.
To understand lets take a look at the following example.
Lets say we a java class called App with main function in it.
When we compile it the compiler will compile the files and produce dot class file which consists of the bytecode
JVM resides on the RAM and during the execution using class loader the dot class files are brought on the RAM
The bytecode is verified by the bytecode verifier in JVM.
The execution engine will convert the bytecode into machine code This is called Just in time compiling.
This is why Java is slow compared to C program

#shorts #JavaDevelopment #Coding #Java #tutorial #jvm #2022
Рекомендации по теме
Комментарии
Автор

Your explanations are very clear, keep posting videos

kashishjain