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.
Differences between the Java platform and other platforms:
The main differences between the Java platform and other platforms are:
- 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.
- 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.
- Programmer can develop Java code on any OS. Most of the other platforms do not have this capability.
- 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.
- How is Java platform independent?
- Main thread in Java
- GFact 48 | Overloading main() in Java
- Is main method compulsory in Java?
- Valid variants of main() in Java
- How to overload and override main method in Java
- Static Block and main() method in Java
- Replacing 'public' with 'private' in "main" in Java
- Execute main() multiple times without using any other function or condition or recursion in Java
- Understanding public static void main(String args) in Java
- Differences between HashMap and HashTable in Java
- Differences between Interface and Class in Java
- Does JVM create object of Main class (the class with main())?
- Differences between TreeMap, HashMap and LinkedHashMap in Java
- Differences between wait() and join() methods in Java
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.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.