Solved: Explain with details what is Compiling, Linking and loading in Java Virtual Machine.

Explain with details what is Compiling, Linking and loading in Java Virtual Machine.

Expert Answer

 

Compiler:

Compiler is used to source code in java is translated into the instruction set of Java Virtual Machine.

Here the compiler translates the instruction set of JVM to instruction set of instruction for CPU.Compiler java source code is translated to the platform dependent CPU instruction set.

LOADING:

Loading is process of bringing the binary form that type in the virtual machine.That is the process of locating the byte code and bringing them into the JVM memory.

LINKING:

Linking is the process of incorporating the binary type data into runtime state in virtual machine.

Still stressed from student homework?
Get quality assistance from academic writers!