
Java
Programs that translate source code to object code are known as compilers. A compiler takes high-level programming languages like C, C++, or
Java and converts them into machine code or object code that can be executed by a computer's hardware. Additionally, assemblers translate assembly language into object code, while interpreters directly execute the source code without generating a separate object code file. Examples of popular compilers include GCC for C/C++ and the
Java Compiler (
Javac) for
Java.