+ 1
How can we write the java program once and run on different operating systems..?
9 Respuestas
+ 7
AMOGHA. A. K. What is that? because I can't read the answer ,all I see is some rectangle with diagonals
+ 4
Same here
+ 3
After compilation you will get the bytecode that is intermediate between compilation and running it. This code is Machine independent in nature.
Thanks
+ 3
Abhay Hardik Sharma he wrote...
"After compiling java coding, however .class file is generated to JVM. Anyhow all operating systems have theri own JVM."
+ 2
AMOGHA. A. K. Downvoting your reply because of fancy font. Some people device doesn't support these kind of fonts and they can't read. So please use normal font for answer.
+ 2
Whene you complie java code jvm will generate .class file which is run on any jvm on different pc so you can say that write once run anywhere.
+ 2
If you think on multiple PCs publish your code on github.
+ 1
Java has this special characteristic in itself, it's bytecode can be run on any OS.
+ 1
What is byte code?