Does Java produce object code or byte code?

前端 未结 5 2069
南笙
南笙 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

    Byte code is just the "object code" for the Java Virtual Machine. It's not native code (e.g. x86). To be honest, I rarely hear the term "object code" these days - it's generally clearer to talk in more specific terms.

提交回复
热议问题