What is the difference between interpreter and compiling ?

Answers were Sorted based on User's Feedback



What is the difference between interpreter and compiling ?..

Answer / muneeswari

interpreter:it executes programs line by line.
compiler: it executes entire program

Is This Answer Correct ?    16 Yes 1 No

What is the difference between interpreter and compiling ?..

Answer / raj dhakad

compiler compiles whole block of program at a time whereas
interpreter it interpretes one line at a time.

Is This Answer Correct ?    6 Yes 0 No

What is the difference between interpreter and compiling ?..

Answer / vivek

iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii




compiler converts the source code into byte code to
interpret by the interpreter.
interpreter executes the byte code and produces the output.

Is This Answer Correct ?    4 Yes 2 No

What is the difference between interpreter and compiling ?..

Answer / natasha verma

The compiler reports to its user the presence of errors in
the source program.

Is This Answer Correct ?    2 Yes 1 No

What is the difference between interpreter and compiling ?..

Answer / charan sai

Compiler: whole program executes at once and displays all
errors and warnings.
Interpretors: Program executes line by line. If we will get
error, execution stops at that line.

Both Interpreter and compile will convert source code to
Byte code.

Is This Answer Correct ?    1 Yes 0 No

What is the difference between interpreter and compiling ?..

Answer / nanda kishore

Compiler: Converts Java code into Byte Code.
Interpreter: Converts Byte Code into Machine(Operating System) dependend Code .

Is This Answer Correct ?    0 Yes 0 No

What is the difference between interpreter and compiling ?..

Answer / deepakkumar1887

if the source program consist any preprocessor instructions then we need interpreter, otherwise we should use compiler for fresh translator.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More Core Java Interview Questions

What are the four pillars of java?

0 Answers  


Can we access a database using applets?

2 Answers   Hewitt,


What is the difference between an array and an array list?

0 Answers  


What is the difference between java and .Net?

39 Answers   Bosch,


What is Mutex (Mutual Exclusion Object) ?

0 Answers   Ciena,






how to call one program .class file in another program

7 Answers   TCS,


What is busy spin, and why should you use it?

0 Answers  


Can arraylist contain null values?

0 Answers  


What is the difference between JVM and JRE?

0 Answers  


hi to all. well can you please tell me that why String class is immutable? Thanks in advance.

5 Answers   Huawei,


What are the differences between heap and stack memory in java?

0 Answers  


How to make class immutable

6 Answers  


Categories