J2SE Question:
Download Questions PDF

What is virtual machine?

Answer:

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.

Download J2SE Interview Questions And Answers PDF

Previous QuestionNext Question
What is variable?What is volatile?