Tuesday, December 12, 2006

Q: What is difference between jvm and a interpreter?

Acronym for Java Virtual Machine. An abstract computing machine, or virtual machine, JVM is a platform-independent execution environment that converts Java bytecode into machine language and executes it.

interpreter is a program that executes instructions written in a high-level language. An interpreter translates high-level instructions into an intermediate form, which it then executes. In contrast, a compiler translates high-level instructions directly into machine language. Compiled programs generally run faster than interpreted programs.

So JVM is like in an interpreter

0 Comments:

Post a Comment

<< Home