Does Java produce object code or byte code?

前端 未结 5 2055
南笙
南笙 2020-12-19 07:04

It\'s my understanding that the Java compiler produces \"byte code\", not \"object code\". First of all, is this correct?

Also, that\'s just what my book says, I was

5条回答
  •  北海茫月
    2020-12-19 08:00

    Java is platform independent. When you compile Java source code it is converted to byte code and when the application is run the JRE on the client machine executes the byte code.

提交回复
热议问题