How Java is platform independent 2024?

Sophia Cooper | 2023-05-05 07:22:15 | page views:1082
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Isabella Harris

Studied at University of Oxford, Lives in Oxford, UK
With Java, you can compile source code on Windows and the compiled code (bytecode to be precise) can be executed (interpreted) on any platform running a JVM. So yes you need a JVM but the JVM can run any compiled code, the compiled code is platform independent. ... for that why Java is called Platform independent.
2023-05-07 07:22:15

Charlotte Robinson

QuesHub.com delivers expert answers and knowledge to you.
With Java, you can compile source code on Windows and the compiled code (bytecode to be precise) can be executed (interpreted) on any platform running a JVM. So yes you need a JVM but the JVM can run any compiled code, the compiled code is platform independent. ... for that why Java is called Platform independent.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4