Java Compiler and Interpreter

Previous
Next

Compiler:

  • It is a pre-defined program(software)
  • It is responsible for checking syntax errors in the program.
  • If the source is syntactically correct, then it will generate a file of binary code.
  • Intermediate file generates after compilation
  • Compiler – Converts the source code all at once

Interpreter:

  • It is a program(software)
  • Interpreter converts the input file line by line.
  • The converted instruction execute as soon as converted.
  • Intermediate file will not generate after interpretation.
Previous
Next

Add Comment

Courses Enquiry Form