How JAVA is platform Independent?
Java is a sound and platform-
independent programming language,
unlike some programming languages
such as C or C++, where the code written
for one processor cannot run on a
different processor.
Java programs are not given directly to
processors; they rely on the Java Virtual
Machine (JVM) to interpret them.
The JVM is platform-dependent,
meaning it varies with respect to the
operating system running on it.
The Java programming language is not
platform-dependent, which means that it
can be written using Java and can be
executed on multiple machines with the
help of the JVM.
Java is a sound and platform-
independent programming language,
unlike some programming languages
such as C or C++, where the code written
for one processor cannot run on a
different processor.
Java programs are not given directly to
processors; they rely on the Java Virtual
Machine (JVM) to interpret them.
The JVM is platform-dependent,
meaning it varies with respect to the
operating system running on it.
The Java programming language is not
platform-dependent, which means that it
can be written using Java and can be
executed on multiple machines with the
help of the JVM.