Discussion Forum

Why is Java a platform independent language?

Why is Java a platform independent language?

by Mohammad Nasheem -
Number of replies: 1

Why is Java a platform independent language?


In reply to Mohammad Nasheem

Re: Why is Java a platform independent language?

by Ashutosh Bhatt -
Java is a platform-independent language becasue java compiled code(byte code) can run on all operating systems.
The Java compiler converts the high-level language (human language or source code) into a format understood by the machines (Byte code). This Byte code can run over any operating systems. Therefore java is platform independent lanuage.