What is the difference between interpreter and compiling ?
Answers were Sorted based on User's Feedback
Answer / muneeswari
interpreter:it executes programs line by line.
compiler: it executes entire program
| Is This Answer Correct ? | 16 Yes | 1 No |
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 |
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 |
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 |
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 |
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 |
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 |
What is the significance of listiterator?
How to remove the trailing spaces from a string?
How do generics work?
Can we write any code after throw statement?
What is temp in java?
Is it possible to override the main method?
What is methods in java?
What is the purpose of the strictfp keyword?
What is the entry point in Java, and how is it written?
Why stringbuffer is faster than string?
Write POJO class as a key to hashmap???
What’s the difference between applets and standalone program?