Computer Science, asked by deepraj4, 1 year ago

what is bytecode in Java

Answers

Answered by Anonymous
8
Java bytecode is the instruction set of the Java virtual machine. The Java bytecode gets processed by the Java virtual machine.



____________________________


THE main advantage of the bytecode is


it create any number of programming languages (syntax) and have them compile down to the same bytecode.


And it Could easily create cross language converters.




_____________________



java code

= > javac compiler = > bytecode


bytecode = > JVM = > microsoft => linux = > Mac
Answered by SohamKundu012
6

Bytecode is a set of instructions that are understood by the JVM .

JVM is an abstract machine designed to be implemented on top of existing processors .

It helps to convert the given code in JAVA to bytecode and then we can intrepret the code for a given platform by using an interpreter .

This interpreter is called JVM .

Now the Bytecode is independent of hardware .

Similar questions