What is the difference between “architecture-neutral” and “portable”?

前端 未结 9 961
忘了有多久
忘了有多久 2020-12-14 12:40

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

9条回答
  •  不知归路
    2020-12-14 13:30

    What is difference between Architecture Neutral and Portable? Architecture Neutral: Java is an Architecture neutral programming language because, java allows its application to compile on one hardware architecture and to execute on another hardware architecture. Portable: Java is a portable programming language because, java is able to execute its application and all the operating system and all the hardware system.

提交回复
热议问题