What are the main differences between the Java platform and other platforms?

What is a Platform?: Platform is a hardware or software environment in which a program runs. Java has its own run time environment known as JRE(Java Run-time Environment) and Java Virtual Machine(JVM) which converts Java code to machine code.

Types Of Platform

Differences between the Java platform and other platforms:

The main differences between the Java platform and other platforms are:

  1. Java is platform independent because of this characteristic we can write Java code in one platform and can be read/run in/on any other platform i.e WORA(Write Once Read Anywhere). Other languages lack this capability.
  2. Java platform is a software-only platform that runs on the top of other hardware-based platforms, other platforms are mostly hardware software or hardware only and can be run only on hardware based.
  3. Programmer can develop Java code on any OS. Most of the other platforms do not have this capability.
  4. Java has its own run time environment known as JRE(Java Run-time Environment) and Java Virtual Machine(JVM) which converts Java code to machine code, whereas this functionality is missing in other platforms.


My Personal Notes arrow_drop_up


If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.




Article Tags :
Practice Tags :


2


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.