Why is Java said to be 'write once, run everywhere'?

1 answers

Java is said to be 'write once, run everywhere' thanks to the bytecode which acts as the intermediate step between the source code and the machine code. This allows the Java Bytecode to be executed on any hardware that has a proper JVM installed.

shilpigupta22 shilpigupta22 [Author] 4 months ago votes 0