what is jvm? how can it is useful in java?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Sapient Interview Questions
What does the web module contain?
Write a program for Sum of the digits for a given number Ex: suppose user entered Number is 1214, It should calculate the above number like 1+2+1+4 = 8
What is DDP?
What are the component of java?
What do you understand by connector?
for example we are login into the irctc server from there it will go to the selected bank and deduct amount and come back to the irctc. so if we are developing this in java means will it be run on the same session. but as per my knowledge bank is separate and irctc is separate URL's so it will use two different sessions then how it is maintaining same session through out application and even it uses the payment gateway? how it is working can any one help me on that??
Possible ways for debugging java ,javascript,jsp and servlet. Can we use System.out.println debugging java.
What is webservices in java?
What is multi tier architecture in j2ee?
what is interface in java ?can you explain with simple example?and what is the difference between abstract and interface?
What is a j2ee container?