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. |
|
| ||||
Interview Questions and Answers | ||||
| ||||
Ans. Yes and No. JVM is an extra layer that translates Byte Code into Machine Code. So Comparing to languages like C, Java provides an additional layer of translating the Source Code. C++ Compiler - Source Code --> Machine Code Java Compiler - Source Code --> Byte Code , JVM - Byte Code --> Machine Code Though it looks like an overhead but this additional translation allows Java to run Apps on all platforms as JVM provides the translation to the Machine code as per the underlying Operating System. | ||||
Help us improve. Please let us know the company, where you were asked this question : | ||||
Like Discuss Correct / Improve  java   jvm   interpreter   platform independent   yes-no   advanced   architecture | ||||
Related Questions | ||||
Why is String immutable in Java ? | ||||
Why Char array is preferred over String for storing password? | ||||
Does garbage collection guarantee that a program will not run out of memory? | ||||
Describe, in general, how java's garbage collector works ? | ||||
Describe what happens when an object is created in Java ? | ||||
Can you provide some implementation of a Dictionary having large number of words ? | ||||
Can constructors be synchronized in Java ? | ||||
What are various types of Class loaders used by JVM ? | ||||
what is covariant return type? | ||||
Can I import same package/class twice? Will the JVM load the package twice at runtime? | ||||