+ 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...

25th Oct 2017, 1:39 AM
Darshan kumar
Darshan kumar - avatar
3 odpowiedzi
+ 4
Because regardless of what you use your Java program on, it will always run. On Linux, Windows, Unix, etc. it will always work.
25th Oct 2017, 2:16 AM
LunarCoffee
LunarCoffee - avatar
+ 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
25th Oct 2017, 4:57 AM
Prasanna Shiwakoti
Prasanna Shiwakoti - avatar
+ 1
The .class which is created by the java program is runned by any operating system, because of these it is called platform independent
25th Oct 2017, 1:13 PM
saketh nandan reddy
saketh nandan reddy - avatar