What happens when we compiles our program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What happens when we compiles our program?

26th Nov 2016, 8:05 AM
Avdhesh Chauhan
Avdhesh Chauhan - avatar
2 Answers
+ 3
Your source code will be converted to 'byte code', which isn't machine language yet, but can't be read by humans easily. This byte code is being interpreted by the JVM, the result is machine language (0s and 1s) that can be executed by the computer.
26th Nov 2016, 9:08 AM
Dominik Braun
Dominik Braun - avatar
+ 2
what you have before compiling is source code it is simple codes written in English like language that compiler has been instructed to understand when we compile actual code is made this is more machine like and computer understandable. Java has little different thing here unlike other programs it converts it into platform independent Java byte code that JVM runs
26th Nov 2016, 9:21 AM
Sandeep Chatterjee