ADS

Sunday, 6 May 2018

What is compilation & Interpretation in Java?


What is compilation?

Computer can not understand source code (it understands only machine code) so we need to convert source code into machine code this process is called compilation. Compiler performs this task.


What is Interpretation?

It is a process in which byte code is converted into machine code by the (JVM) java virtual machine. This will be done during execution of the program. Interpretation is always done line by line.


No comments:

Post a Comment

Popular Posts