Question #124144

How the compilation process of the Java language is different from that of C++ programming language. Discuss in details.

Expert's answer

Java compiler, compiles to byte code which is run by the Java Virtual Machine (JVM) interprets at run time. Actual Java implementations do just-in-time compilation to native machine code.

C++ is directly compiled to the machine code which is executed directly by the central processing units.


LATEST TUTORIALS
APPROVED BY CLIENTS