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 / 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

What is the difference between interpreter and compiling ?..

Answer / guest

Interpreter is used to execute the program after the
completion of a compilation process.
Compiler compiles the program that is it converts the java
file into class file.

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Core Java Interview Questions

If an application has multiple classes in it, is it okay to have a main method in more than one class?

0 Answers  


What environment variables do I need to set on my machine in order to be able to run java programs?

0 Answers  


What does system out println () do?

0 Answers  


What are the access modifiers available in java?

0 Answers  


Can i have abstract class with no abstract methods?

22 Answers   CTS,






What do you mean by formatting?

0 Answers  


Why hashcode is used in java?

0 Answers  


Can list contain null in java?

0 Answers  


What do you know about the garbate collector?

0 Answers  


Explain what access modifiers can be used for variables?

0 Answers  


What is a byte array?

0 Answers  


Which of the following is not an isolation level in the JDBC

0 Answers   CTS,


Categories