什么是java_什么是Java?

什么是java

Java is a computer programming language. It enables programmers to write computer instructions using English-based commands instead of having to write in numeric codes. It’s known as a high-level language because it can be read and written easily by humans.

Java是一种计算机编程语言 。 它使程序员可以使用基于英语的命令来编写计算机指令,而不必编写数字代码。 它被称为高级语言,因为它可以被人类轻松地读写。

Like English, Java has a set of rules that determine how the instructions are written. These rules are known as its syntax. Once a program has been written, the high-level instructions are translated into numeric codes that computers can understand and execute.

像英语一样 ,Java有一组规则来确定如何编写指令。 这些规则称为其语法。 编写完程序后,高级指令将转换为计算机可以理解和执行的数字代码。

谁创造了Java? ( Who Created Java? )

In the early 90s, Java, which originally went by the name Oak and then Green, was created by a team led by James Gosling for Sun Microsystems, a company now owned by Oracle.

在90年代初,最初由Oak命名为Green的Java是由James Gosling领导的Sun Microsystems公司(该公司现在由Oracle拥有)领导的团队创​​建的。

Java was originally designed for use on digital mobile devices, such as cellphones. However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on the internet, providing interactivity with users by giving developers a way to produce animated web pages.

Java最初是为在手机等数字移动设备上使用而设计的。 但是,当Java 1.0在1996年向公众发布时,它的主要重点已经转移到了在Internet上使用,通过为开发人员提供一种制作动画网页的方式来与用户进行交互。

However, there have been many updates since version 1.0, like J2SE 1.3 in 2000, J2SE 5.0 in 2004, Java SE 8 in 2014, and Java SE 10 in 2018.

但是,自1.0版以来有很多更新,例如2000年的J2SE 1.3、2004年的J2SE 5.0、2014年的Java SE 8和2018年的Java SE 10。

Over the years, Java has evolved as a successful language for use both on and off the internet. 

多年来,Java已经发展成为一种成功的语言,可以在互联网上和互联网上使用。

为什么选择Java? ( Why Choose Java? )

Java was designed with a few key principles in mind:

Java在设计时考虑了一些关键原则:

  • Ease of Use: The fundamentals of Java came from a programming language called C++. Although C++ is a powerful language, it is complex in its syntax and inadequate for some of Java's requirements. Java built on and improved the ideas of C++ to provide a programming language that was powerful and simple to use.

    易于使用: Java的基础知识来自一种称为C ++编程语言。 尽管C ++是一种功能强大的语言,但它的语法复杂且不足以满足Java的某些要求。 Java建立在C ++的思想之上并对其进行了改进,以提供一种功能强大且易于使用的编程语言。

  • Reliability: Java needed to reduce the likelihood of fatal errors from programmer mistakes. With this in mind, object-oriented programming was introduced. When data and its manipulation were packaged together in one place, Java was robust.

    可靠性: Java需要减少程序员错误导致致命错误的可能性。 考虑到这一点,引入了面向对象的编程 。 当将数据及其操作打包在一个地方时,Java便很健壮。

  • Security: Because Java was originally targeting mobile devices that would be exchanging data over networks, it was built to include a high level of security. Java is probably the most secure programming language to date.

    安全性:因为Java最初是针对将通过网络交换数据的移动设备的,所以它被构建为包括高级别的安全性。 Java可能是迄今为止最安全的编程语言。

  • Platform Independence: Programs need to work regardless of the machines they're being executed on. Java was written to be a portable and cross-platform language that doesn't care about the operating system, hardware, or devices that it's running on.

    平台独立性:无论程序在什么计算机上运行,​​程序都需要工作。 Java被编写为一种可移植的跨平台语言,它并不关心它所运行的操作系统,硬件或设备。

The team at Sun Microsystems was successful in combining these key principles, and Java's popularity can be traced to it being a robust, secure, easy to use, and portable programming language.

Sun Microsystems的团队成功地结合了这些关键原理,并且Java的流行可以追溯到Java是一种健壮,安全,易于使用和可移植的编程语言。

我从哪说起呢? ( Where Do I Start? )

To start programming in Java, you first need to download and install the Java development kit.

要开始用Java编程,您首先需要下载并安装Java开发工具包

After you have the JDK installed on your computer, there's nothing stopping you from using a basic tutorial to write your first Java program.

在计算机上安装JDK之后,没有什么可以阻止您使用基础教程来编写您的第一个Java程序。

Here's some more information that should be helpful as you learn more about the basics of Java:

当您了解有关Java基础的更多信息时,以下更多信息将对您有所帮助:

翻译自: https://www.thoughtco.com/what-is-java-2034117

什么是java

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值