Difference between JVM and JRE?
Answers were Sorted based on User's Feedback
Answer / manasa
JVM is a java virtual machine.... which is a compiler and
it converts bytecode to its original form which is given by
us......
JRE is a software where it supports to execute our
programs....
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / shylaja adam
Jvm is Java virtual machine. It works like both compiler and interpreter for the java programs. where as Jre is Java runtime environmet. As the name implies It provides supoort for java programs by providing runtime environment that is needed to execute.
| Is This Answer Correct ? | 5 Yes | 1 No |
Answer / praveen
JVM --- JVM converts byte code into machine(processor)
understandable language.
----We import some classes in java program.
----JVM execute those class methods in java library and
place the result into the program.
JRE = JVM + java library
| Is This Answer Correct ? | 4 Yes | 0 No |
Is there memory leaks in java?
What is the best way to findout the time/memory consuming process?
What is autoboxing in java?
What do you mean by data type?
I declared main() method as private. But it still running and displaying the output. Please Answer it . Code Snippet as Below: import java.io.*; class over { private static void main(String[] args) { int high = Integer.MAX_VALUE; int overflow = high + 1; int low = Integer.MIN_VALUE; int underflow = low - 1; System.out.println(high + "\n" +overflow +"\n"+ low +"\n"+underflow); //System.out.println(overflow); //System.out.println(low); //System.out.println(underflow); } }
Default layout of panel and frame?
What is the purpose of return statement?
What is the use of protected in java?
How many types of thread in java? give the name
String is mutable or immutable?
What is a class component?
If you are given the name of the function at run time how will you invoke the function?