JAVA为什么这么流行

背景:有人问我为什么java这么流行,我去网上找了一个,可能是如下的原因。

Why is Java so popular?

One of the biggest reasons why Java is so popular is the platform independence. Programs can run on several different types of computer; as long as the computer has a Java Runtime Environment (JRE) installed, a Java program can run on it.

Most types of computers will be compatible with a JRE including PCs running on Windows, Macintosh computers, Unix or Linux computers, and large mainframe computers, as well as mobile phones.

Since it has been around for so long, some of the biggest organisations in the world are built using the language. Many banks, retailers, insurance companies, utilities, and manufacturers all use Java.

Steve Zara, a programmer for more than 40 years, describes how there is no sign of Java declining in use. Instead, it is an evolving language which almost uniquely combines stability with innovation.

Highlighting the longevity of the language, Zara states that the code you may have written 15 years ago will run on the most up-to-date JVMs and gain the speed advantage of the latest profiling, native code translating, and memory management.

Java is fundamentally object-oriented. The code is so robust because Java objects contain no references to data external to themselves.

The language is considered to be very simple; however, it comes with a library of classes that offer commonly used utility functions that most Java programs can’t work without.

Java API, the class library, is as much a part of Java as the language itself. In actuality, the genuine challenge of learning how to use Java isn’t learning the language, but learning the API.

The language consists of 50 keywords, but the Java API has thousands of classes with tens of thousands of methods you can use in your programs.

Despite this, developers aren’t expected to learn all of the Java API, and the majority of them are only experienced and fluent with a small portion of it.

java为什么这么流行,最大的优势是平台的独立行;
参考文档

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值