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 Java and Collections concepts with the Fundamentals of Java and Java Collections Course at a student-friendly price and become industry ready.
- Does JVM create object of Main class (the class with main())?
- Execute main() multiple times without using any other function or condition or recursion in Java
- How is Java platform independent?
- JPMS : Java Platform Module System
- JHipster (Java Hipster) - A Full Stack Web Development Platform for the Modern Developer
- Static Block and main() method in Java
- How to overload and override main method in Java
- Valid variants of main() in Java
- GFact 48 | Overloading main() in Java
- Main thread in Java
- Is main method compulsory in Java?
- Replacing 'public' with 'private' in "main" in Java
- Understanding "static" in "public static void main" in Java
- Understanding public static void main(String args) in Java
- In Java, Can we call the main() method of a class from another class?
- Differences between HashMap and HashTable in Java
- Differences between TreeMap, HashMap and LinkedHashMap in Java
- Differences between wait() and join() methods in Java
- Differences between Interface and Class in Java
- Differences between Dynamic Binding and Message Passing 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 email@example.com. 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.