Discussion in 'Java' started by Joslinks, Sep 3, 2014.
Why Java is platform independent?
As java contain both compiler and interpreter so when we input source code it firstly compiled and then converted into what that is byte code which is portable and can be executed in any operating system.
Java is a platform independent programming language, Because when you install jdk software on your system then automatically JVM are installed on your system. For every operating system separate JVM is available which is capable to read the .class file or byte code.
Separate names with a comma.