What is main difference between Java platform and other platforms ?
Answer : Java platform is a software which consists of JVM (Java virtual machine) and Java API which run top of other hardware based platforms. It converts java code to byte stream which converts to machine language by JVM. Below are differences:
|Java Platform||Other platform|
|It’s software only platform||Can be hardware only platform, hardware software platform.|
|Java runs top of hardware platform||Could be only hardware component|
|Java platform consists of JVM (Java virtual machine ) and JAVA API where API supports to write java files then java compiler converts java file to class file (byte stream) and JVM converts byte stream to machine language which any computer can read||This functionality is missing in other platform|
|Java is platform independent (Write once run anywhere) means java code can be developed on any device and compiled it into byte stream then run on any platforms which have JVM. Installation of Java interpreter on chips or JVM now days has become standard practice||May not platform independent|
|Programmer can develop code on any PC||This functionality is not available.|