What is the difference between interpreter and compiling ?

Answer Posted / satish chaurasia

interpreter : a program written in source language can be
understood and executed by the CPU line by line.As the
first line is encountered by the interpreter, it is
translated and executed. same next line executed.
Whereas
A compiler translates a complete source program into
machine code. means it converts the .java file into .class
file.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between public, private, protected, and friend access?

570


What is ellipsis in java?

573


What is a return in java?

552


What the difference is between execute, execute Query, execute Update?

370


What is the use of inner class?

541






Can a class be a super class and a sub-class at the same time? Give example.

794


What is nan inf?

502


Why is stringbuffer not immutable?

557


What are wrapped classes in java programming?

578


What do you understand by weak reference?

550


What does yield method of the thread class do?

575


Why does java not support pointers?

547


What are the main features of java?

526


What is the purpose of encapsulation?

536


Can we create more than one object singleton class?

573