Witscale Test Center

A.1 How Java works


A.1 How Java works

Computer programs are usually written in human-readable source code. The compilers convert this source code into machine-readable (executable) programs. Conventional compilers for programming languages like C++ produce machine-readable code that is executed on a specific hardware; for example, the C++ compiler for windows on x86 hardware compiles source code into executable programs, which can run only on Intel x86 compatible hardware. A C++ program needs to be recompiled for a different platform using the platform-specific compiler.