Why is Java called the ‘Platform Independent Programming Language’?
Java is called a ‘Platform Independent Programming Language’ because no matter what platform it is programmed on, the code remains the same. Hence, it can be said that its coding is independent of the platform it is coded on.
Java has an inbuilt virtual machine called JVM, which when installed on the platform, allows the Java code to run as is, irrespective of which platform it is. JVM translated the byte code into machine code for the specific machine on which the Java program in running, thus allowing it to be read and run smoothly.