Home / Questions / What is the difference between an interpreted language and a compiled language?
Explanatory Question

What is the difference between an interpreted language and a compiled language?

👁 981 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

An interpreter reads one statement from the source code, and translates it to the machine code or virtual machine code, and then executes it right away. A compiler translates the entire source code into a machine code file, and the machine code file is then executed.