Java is Platform Independent


Prev Tutorial Next Tutorial

How Java is Platform Independent

A programming language or technology is said to be platform independent if and only if which can run on all available operating systems with respect to its development and compilation. (Platform represents Operating System).

Java is a platform independent programming language, Because when you install jdk software on your system then automatically jvm are install on your system. For every operating system separate jvm is available which is capable to read .class file or byte code. When we compile your java code then .class file is generated by javac compiler these code are readable by jvm and every operating system have its own jvm so jvm is platform dependent but due to jvm java language is become platform independent.

Java Platform Independent

Note: Java is platform independent but jvm is platform dependent.


Prev Tutorial Next Tutorial

Advertisements




Facebook Likes

Advertisements