+ 1
When jvm translate source code how it's work on other platforms?
2 Answers
+ 1
Consider Java program compilation a 2 step process:
1) Convert source code to bytecode.
2) Convert bytecode to executable code.
JVM stands between these 2 processes.
The first step is Hardware and Operating System Independent.
As JVM is Hardware and Operating System dependant, it converts bytecode to Machine dependant Executable code.
0
Thanks