Font Awesome Icons


Internal Details of a java program

Java source code is compiled into bytecode when we use the javac compiler. The bytecode gets saved on the disk with the file extension .class. When the program is to be run, the bytecode is converted, using the just-in-time (JIT) compiler. The result is machine code which is then fed to the memory and is executed.

Compilation of a Java Program

At compilation time, java file is compiled by Java Compiler  and converts the java code into bytecode.

When a Java Program is run

The Java class files or bytecode are compiled to machine code and loaded into memory by the JVM when needed the first time. 

Hi, Welcome to etechvidya