I\'m reading Herbert Schildt\'s book \"Java: The Complete Reference\" and there he writes that Java is portable AND architecture-neutral. What is the difference between this
.class file is portable because it can run on any OS . The reason is , .class file generated by JVM is same for all OS. On the other hand JVM is differ as OS , but it generate same .class file for all OS, so JVM is architectural neutral.