Computer Science, asked by MRFuriBone, 9 months ago

Difference between ordinary compilation and java compilation

Answers

Answered by Anonymous
135

Explanation:

in ordinary compilation the source code is directly converted into machine or object code using an interpreter or a compiler .

In Java compilation into an the source code is first converted into an intermediate code called the byte code.

The result of compiling Java is bytecode. Java has been translated to a code that is executable by the Java Virtual Machine.

The result of “ordinary” compilation as you put it is a machine executable that does not require a virtual machine. Instead, it is low level code that is specific to the CPU of the computer. But it can’t run on computers with a different cpu. It has to be rebuilt for every different system.

A Java virtual machine on the other hand can be written for all sorts of computers. It handles the translation between java bytecode and the CPU at runtime. This means that a java program can be written and compiled and will run anywhere with the appropriate virtual machine installed. It can simply be distributed.

.

Answered by sreejayahpd
3

Answer:

3 തണ്ണിമത്തൻ എടുത്ത് തുക 30 ആക്കാമോ

Similar questions