Open In App

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

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Share
Report issue
Report

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.

Last Updated : 07 Aug, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads