![]() When the bytecode is run, it needs to be converted to machine code.Java programs need to be compiled to bytecode.Java code needs to be compiled twice in order to be executed: The result is machine code which is then fed to the memory and is executed. When the program is to be run, the bytecode is converted, using the just-in-time (JIT) compiler. The bytecode gets saved on the disk with the file extension. Java source code is compiled into bytecode when we use the javac compiler. In Java, programs are not compiled into executable files they are compiled into bytecode (as discussed earlier), which the JVM (Java Virtual Machine) then executes at runtime.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |