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.
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.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.
Recommended Posts:
- How is Java platform independent?
- JPMS : Java Platform Module System
- Main thread in Java
- GFact 48 | Overloading main() in Java
- Valid variants of main() in Java
- Is main method compulsory in Java?
- Static Block and main() method in Java
- Replacing 'public' with 'private' in "main" in Java
- How to overload and override main method 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
- Does JVM create object of Main class (the class with main())?
- Differences between HashMap and HashTable in Java
- Differences between Interface and Class in Java
- Differences between TreeMap, HashMap and LinkedHashMap in Java
- Differences between wait() and join() methods in Java
- Differences between Dynamic Binding and Message Passing in Java
- Understanding "static" in "public static void main" in Java
- In Java, Can we call the main() method of a class from another class?
- What does main() return in C and C++?
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.



