JVM is an acronym for Java Virtual Machine; it is an abstract machine which provides the runtime environment in which Java bytecode can be executed. It is a specification which specifies the working of Java Virtual Machine. Its implementation has been provided by Oracle and other companies. Its implementation is known as JRE.
JVMs are available for many hardware and software platforms (so JVM is platform dependent). It is a runtime instance which is created when we run the Java class. There are three notions of the JVM: specification, implementation, and instance.
JRE stands for Java Runtime Environment. It is the implementation of JVM. The Java Runtime Environment is a set of software tools which are used for developing Java applications. It is used to provide the runtime environment. It is the implementation of JVM. It physically exists. It contains a set of libraries + other files that JVM uses at runtime.
JDK is an acronym for Java Development Kit. It is a software development environment which is used to develop Java applications and applets. It physically exists. It contains JRE + development tools. JDK is an implementation of any one of the below given Java Platforms released by Oracle Corporation:
|Write a program to calculate the difference between the sum of the odd level and even level nodes of a Binary Tree|
|Write a program in Java to find the maximum and minimum value node from a circular linked list.|
|Write a program in Java to create a doubly linked list containing n nodes|
|How to perform quicksort in Java?|
|How to perform merge sort in Java?|
|How to perform Linear Search in Java?|
|How to perform Selection Sort in Java?|
|How to perform Binary Search in Java?|
|How to perform Bubble Sort in Java?|
|Can RMI and CORBA based applications interact?|
|What is JRMP?|
|What is the use of HTTP-tunneling in RMI?|
|What are the steps involved to write RMI based programs?|
|What is the purpose of stub and skeleton?|
|What do you understand by the bean persistent property?|
|What is the purpose of using the Java bean?|
|What is a JavaBean?|
|How will you load a specific locale?|
|What is Locale?|
|Can you write a Java class that could be used both as an applet as well as an application?|