+ 1

What is the main reason in java so that we say that java is machine independent.

because of byte code

25th Apr 2017, 8:46 AM
Aman Sharma
Aman Sharma - avatar
3 ответов
+ 4
JVM interpret java byte code (.class) to machine code.
25th Apr 2017, 8:56 AM
Nithiwat
Nithiwat - avatar
+ 3
Java runs in JVM, a virtual machine, so it's independent of the host (the machine it's installed on).
25th Apr 2017, 8:48 AM
Mario L.
Mario L. - avatar
+ 1
byte code
25th Apr 2017, 8:47 AM
Aman Sharma
Aman Sharma - avatar