Computer Science, asked by darshan7829143, 11 months ago

what is the significance of JVM in java programming?​

Answers

Answered by amritasharma1006
1

Answer:

JVM stands for Java virtual machine

Since different operating system create different executable files to run the program.

i.e if you write a c/c++ program and execute in Windows machine then it will create operating system dependent file and that program can not be executed in another operating system.

But in case of java, JVM take care of creating of class file related to your program and you can use same class file in different operating system.

JVM acts as a interface between your operating system and your program code.

It also provide different security related features.

JVM responsible for calling main method and running your program.

It is also responsible for calling garbage collector for clean up operations.\

Answered by archit3554
0

Answer:

JVM stands for java virtual machine which is abstract or virtual computing machine is the implementation of java virtual machine specification. It interprets the compiled java code know s as the byte code and helps in program execution depending upon the specific platform.

Similar questions