What does it mean by "write once run everywhere" ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 2

What does it mean by "write once run everywhere" ?

13th Feb 2017, 8:32 AM
Adithya Menon
Adithya Menon - avatar
5 Réponses
+ 12
I believe it means that Java code can be run on any platform, which is its greatest advantage. With the rest of the programming languages you need to re-write the code to be able to do that, except for the interpreted languages like JS and Python which would also run anywhere, but at least for me they are still not suitable for creating desktop applications.
13th Feb 2017, 9:39 AM
Nikolay Nachev
Nikolay Nachev - avatar
+ 6
write a block of code and call it everywhere and at anytime you want to (eg. a method)
13th Feb 2017, 8:37 AM
Kamil
Kamil - avatar
+ 4
Java uses JVM (Java Virtual machine) so that it compiles java source code into bytecode so any platform can run java program. That's why it says write once and run everywhere.
16th Feb 2017, 2:29 PM
Jignesh Acharya
Jignesh Acharya - avatar
+ 3
it means the fact that Java can run in every Operative System so if you write a program in java you dont need to worry about the platform
13th Feb 2017, 3:00 PM
Jesus Guerrero
Jesus Guerrero - avatar
0
can you help me
13th Feb 2017, 12:18 PM
محمد عبد الرزاق
محمد عبد الرزاق - avatar