J2SE Question:

What is virtual machine?

Tweet Share WhatsApp

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 PDF Read All 214 J2SE Questions
Previous QuestionNext Question
What is variable?What is volatile?