Java Why
Java Why
independence of Java?
Platform independence means that you can run the same Java
Program in any Operating System. For example, you can write
java program in Windows and run it in Mac OS.
Java Virtual Machine (JVM) is the heart of java programming language.
JVM is responsible for converting byte code into machine readable code.
JVM is not platform independent, thats why you have different JVM for
different operating systems.
We can customize JVM with Java Options, such as allocating minimum and
maximum memory to JVM. Its called virtual because it provides an
interface that doesnt depend on the underlying OS.