How does Java compile its program?

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. Java source code is compiled into bytecode when we use the javac compiler. The bytecode gets saved on the disk with the file extension .

Sizin İçin Seçtik  Can we use java in terminal?

Leave a Reply

Your email address will not be published. Required fields are marked *