If you
are new to Java, you must be wondering what is JDK, JRE and JVM. I know these
terms sounds confusing but we are here to make you understand the difference
between all of them. You can prepare it in the same way for the interview as
well.
JDK –
Java Development Kit. It consists of Java complier, JVM and Java class
libraries.
JVM –
Java Virtual Machine. It converts your program code into bytecode, execute it
and gives you the result on the console.
JRE –
Java Runtime Environment. It consists of JVM and class libraries.
Conclusion:
In a nutshell, when you want to run your Java programs, you need JRE. When
you need to develop your Java programs, you need JDK.
Important
to note: Only Java is platform independent. JRE, JVM and JDK are platform
dependent.
Please
feel free to give your feedback. And, we would be able to help you out more, if
you visit us again.
Thank
you for reading! I hope it helps.
0 comments:
Post a Comment