In Java, what is JVM and how work it ?

in java •  7 years ago 

JVM stands for Java Virtual Machine.
It is the component, responsible for execution of the Bytecode.
JVM is the one that actually calls the main method present in a java code. JVM is a part of JRE(Java Run Environment).
Java applications are called WORA (Write Once Run Everwhere). this means a programmer can develop Java code on one system and can expect it to run on any other Java enabled system without any adjustment. this is all possible because of JVM.
when we compile a .java file, a .class file with the same filename is generated by the Java compiler.
This .class file goes into various steps when we are run it. maxresdefault.jpg

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

good

thanks

good job

thanks

good

thanks

helpfull

thanks

good post

thanks

Nice post

helpful post...great

good post bro.

i understand you are a java lover

java programming is old version.

good post