What does WORA of java actually means. What does different platforms mean?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

What does WORA of java actually means. What does different platforms mean??

16th Dec 2017, 10:10 AM
Fire Feathers
Fire Feathers - avatar
2 Answers
+ 8
WORA of Java means "Write Once Run Anywhere" Java is the only programming language which had this feature when java was actually released, I don't think that if still it is the only language having this feature. What it does is that you need to compile your code once and you can run that code in any other platforms or OS. This can' t be done in other languages as they are "compiler dependent" while Java is "compiler in-dependent". Other Platforms means other devices, I mean like Windows and Mac are separate platforms likewise android and ios are separate platforms, I hope you have understood.
16th Dec 2017, 10:44 AM
Maneesh Pradeep
Maneesh Pradeep - avatar
+ 2
this became possible because of JVM, note that java by itself couldn't be platform independent , so what sun microsystems people did was, they made platform specific JVMs(it actually runs your java code on any system) for different types of platform which can now run java on any device. hence java is platform independent , uses bytecode. but JVM that runs java is platform dependent converts bytecode to machine understandable form
16th Dec 2017, 12:39 PM
Morpheus
Morpheus - avatar