What explains Java bytecode

I want to know if Java has been assembled. In my reading, I find that the compiler creates bytecode and runs it on the Java virtual machine Does the JVM interpret the bytecode and execute it?

That's why I'm confused In class today, the professor said, "the compiler uses high-level language to create assembly language, and then the assembler uses assembly language and creates a running machine language (binary)" So if Java is compiled into bytecode, how does it work?

Solution

Treat bytecode as the machine language of the JVM (the compiler does not have to generate assembly code that must be assembled, but it is much easier to write them this way.)

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>