Difference between JVM and JRE?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between preemptive scheduling and time slicing?

834


How to sort a collection of custom Objects in Java?

830


What is meant by stack and queue?

779


Is java a utf 8 string?

748


Why is whitespace important?

784


How do singleton patterns work?

740


Is array an object in java?

736


What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?

750


Why wait(),notify(),notifyAll() methods defined in Object class althought we are using in only threads.

2584


What is printwriter in java?

723


What is meant by 'Class access modifiers'?

809


What is return null in java?

712


Is java 9 released?

733


What is the difference between a method and a procedure?

762


What are the ways in which a thread can enter the waiting state?

722