what is jvm? how can it is useful in java?

Answers were Sorted based on User's Feedback



what is jvm? how can it is useful in java? ..

Answer / msandeepk

jvm stands for Java Virtual Machine. It is the program
which runs java programs. We can define heap size of jvm.
In java garbage collection is taken care by jvm. Hence user
need not concentrate on garbage collection. The default
algorithm jvm uses is mark and sweep algorithm. We can even
change the algorithm.
jvm is considered very useful because jvm can be hardware
and o/s dependent. But the compiled class file is
independent to be run on any platform. All this is possible
because of JVM's capability and features.

Is This Answer Correct ?    9 Yes 0 No

what is jvm? how can it is useful in java? ..

Answer / ashok ramchandnai

JVM is used to run java byte code. JVM is the one that takes java byte code and converts into machine specific instructions.
User compiles a java program and creates .class file that is nothing but the byte code and can be run on any of the machine that contains a jvm.
JVM takes this byte code and execute the programme.

Is This Answer Correct ?    2 Yes 0 No

what is jvm? how can it is useful in java? ..

Answer / elancheliyan rajendran

jvm is Java Virtual Machine.when you compile the java
program the jvm is creates byte code.Then we can run any
other platform.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More J2EE Interview Questions

Write a program to display numeric value in reverse order. Ex: I have given a number like 7584, It should display in reverse order like 4857.

6 Answers  


What is context root?

0 Answers  


On which platform j2ee is based?

0 Answers  


Enlist the technologies embraced in j2ee?

0 Answers  


What is server in j2ee?

0 Answers  






i want test pattern of zylog company and some examples also

0 Answers  


Please explain about internal casting and external casting in java..?

0 Answers  


What does application client module contain?

0 Answers  


What is home interface?

0 Answers  


How do I become an expert in java?

0 Answers  


what is the difference between Tomcat 4 & Tomcat 5?

6 Answers   IBM, TCS,


What is wildfly java?

0 Answers  


Categories