In Java, does "binary code" means the same as "Java bytecode?"
Is this the flow in Java ?
Java File (.java) -> [javac] -> ByteCode File (.class) -> [JVM/Java Interpreter] -> Running it(by first converting it into binary code specific to the machine)
Thanks!
The answer depends on what you mean by binary code
.
Java bytecode
is a binary data format that includes loading information and execution instructions for the Java virtual machine. In that sense, Java bytecode
is a special kind of binary code.
When you use the term "binary code" to mean machine instructions for a real processors architecture (like IA-32 or Sparc) then it is different.
Java bytecode
is not a binary code in that sense. It is not processor-specific.