Compiled and interpreted

Share:

Compiled and interpreted:



  • Generally computer languages are either compiled or interpreted

  • but java combines both compiler and interpreter

  • so java is a tow stage system as show below

  • compiled

  • java compiler generates a machine independent code called byte code

  • these codes are not machine codes

  • but java interpreter generates machine code from byte code that can be directly executed by the machine that is runing the java program

No comments