+ 3
Why the java is known as platform independent?
now a days all are using the java programming in daily life . how the all languages are not better than java...
3 Answers
+ 4
Because regardless of what you use your Java program on, it will always run. On Linux, Windows, Unix, etc. it will always work.
+ 3
Java use JVM to turn bytecode into machine code. JVM knows how to do this so you don't have to. So if you have JVM in your machine you can run Java regardless of the infrastructure.
https://www.pcmag.com/encyclopedia/term/45578/java-virtual-machine
+ 1
The .class which is created by the java program is runned by any operating system, because of these it is called platform independent