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

Solution:

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.

0 answers