Difference between compiler and interpreter

Compiler

It coverts high level code to machine level code.

It converts all the lines of high level code to machine level code at ones.

The advantage of compile and executable programming execution speed is very fast.

However it occupies lot of memory.

Interpreter 

It converts high level code to machine level code line by line.

It occupies less memory.

It is slow in execution.

Note- Java is a hybrid programming language, which makes both compilation and implementation initially.   

Popular posts from this blog

program to H+ELL+O W+ORLD print + before each vowels