Search Interview Questions
| More than 3000 questions in repository.|
There are more than 900 unanswered questions.
Click here and help us by providing the answer.
Have a video suggestion.
Click Correct / Improve and please let us know.
|Core Java - Interview Questions and Answers for 'Jvm vs jre vs jdk' - 1 question(s) found - Order By Newest|
|Ans. JDK(Java Development kit) = Development Kit comprising of JVM , library and development tools for developers|
JRE (Java Run time Environment) - Comprise of JVM and set of libraries
JVM(Java Virtual Machine) = Interpreter which reads the .class file line by line.
When we install JDK, JRE also get installed so we can write,compile and excute our code. Used by developer. Without JDK we can only execute the program using JRE.
|Help us improve. Please let us know the company, where you were asked this question :|
|Like Discuss Correct / Improve  jvm  jre  jdk  jvm vs jre vs jdk Asked in 4 Companies|
|What are different ways to create String Object? Explain.|
|What are various types of Class loaders used by JVM ?|
|Explain java.lang.OutOfMemoryError ?|
|What are strong, soft, weak and phantom references in Java ?|
|Which memory areas does instance and static variables use ?|
|Can we call the garbage collector explicitly ?|
|Why Java provides default constructor ?|
|Can I import same package/class twice? Will the JVM load the package twice at runtime?|
|Different types of memory used by JVM ?|