+ 1
Why is java platform independent?
The classes and packages in java language is said to make it platform independent.. Giving it its write once run anywhere attribute... There is more to this.
2 odpowiedzi
+ 3
Yes there is more to this...Java apps are interpreted by a virtual machine that is built differently depending on the OS. Java machines are like emulators so they run more slowly than apps written in C or C++ usually. You can write compiled Java apps also, but they lose their platform independent properties.
+ 1
Java is compiled to byte code and this byte code is executed by platform dependent Java machine (Java Runtime Environment). So, byte code is platform independent (in theory ;) )