Java is platform independent because you can write the same Java code and run it anywhere.
So you can write from a mobile device, a server, tv box etc and the code will remain the same. The only that changes is the Java Virtual Machine (JVM) that actually runs your code. It's the JVM itself that varies depending on the device that you're running on.
For example, when you're writing Java code for Android, your code will run on the Dalvik virtual machine.
Hope that helps!
__________________
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|