
Java
An interpreter or a compiler. The former translates one line at a time and must be executed within the interpreter. The latter compiles the entire program into a standalone executable. For example, C++ is compiled to machine code but
Java is compiled to byte code which is then interpreted by the
Java Virtual Machine.