DEVFYI - Developer Resource - FYI

What is virtual machine

J2SE Interview Questions and Answers


(Continued from previous question...)

What is virtual machine

An abstract specification for a computing device that can be implemented in different ways, in software or hardware. You compile to the instruction set of a virtual machine much like you'd compile to the instruction set of a microprocessor. The Java virtual machine consists of a bytecode instruction set, a set of registers, a stack, a garbage-collected heap, and an area for storing methods.

(Continued on next question...)

Other Interview Questions