Is the JVM a compiler or an interpreter?

后端 未结 8 1059
傲寒
傲寒 2020-12-02 03:48

I have a very basic question about JVM: is it a compiler or an interpreter?

If it is an interpreter, then what about JIT compiler that exist inside the JVM?
If n

8条回答
  •  抹茶落季
    2020-12-02 04:32

    As others have said it is both! If you want to refer it in good detail than you can see:This IBM Description

提交回复
热议问题