Why we are converting java program into bytecode and then compiling instead compiling directly by compiler? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we are converting java program into bytecode and then compiling instead compiling directly by compiler?

java

5th Jan 2018, 1:54 PM
Selva Raj
Selva Raj - avatar
2 Answers
+ 1
thank... u
5th Jun 2018, 11:27 AM
Selva Raj
Selva Raj - avatar
- 1
Because then it runs with every machine. Some machines need a different compilation.
5th Jan 2018, 2:05 PM
Timon Paßlick