文档介绍:第1部分 Java语言
第1章 Java的起源
When the chronicle puter languages is written, the following will be said: B led to C, C evolved into C++, and C++ set the stage for Java. To understand Java is to understand the reasons that drove its creation, the forces that shaped it, and the legacy that it inherits. Like the puter languages that came before, Java is a blend of the best elements of its rich bined with the innovative concepts required by its unique environment. While the remaining chapters of this book describe the practical aspects of Java—including its syntax, libraries, and applications—in this chapter, you will learn how and why Java came about, and what makes it so important.
说起Page: 1
对于
对于计算机语言的发展史,业界一般大家一般Page: 1
认为:B语言导致了C语言的诞生B语言促成了 C语言Page: 1
B语言导致了 C语言的诞生
,C语言演变出了C++语言,而C++语言将让位于Java语言。要想更好地了解Java语言,就必须了解它产生的原因、推动它发展的动力,以及它对其他语言的继承。像以前其他成功的计算机语言一样,Java继承了其他语言的先进原理,同时又因其独特的环境要求而提出了一些创新性的概念。在这本书的其他各章中,将从实用的角度,对Java语言、库及应用程序进行包括语法在内的详细介绍。在本章里,我们将介绍Java语言产生的背景、发展过程,以及使它变得如此重要的原因它为什么变得如此重要的原因Page: 1
什么使它变得如此重要
。
Although Java has e inseparably linked with the online environment of the , it is important to remember that Java is first and foremost a programming language. Computer language innovation and development occurs for two fundamental reasons:
To adapt to changing environments and uses
To implement refinements and improvements in the art of programming
As you will see, the creation of Java was driven by both elements in nearly
equal measure.
的在线环境密不可分,但首先应该注意到的最重要一点是:它是一种程序语言。计算机语言的革新和发展需要2个基本因素的驱动:
· 适应正在变化的环境和需求
· 实现编程艺术的完善与提高
下面你将看到,Java也正是在这两个因素的驱动下产生的。
Java is related to C++, which is a direct descendent of C. Much of the character of Java is inherited from these two languages. From C, Java derives its syntax. Many of Java’s object-oriented features were influenced by C++. In fact, several of Java’s defining e from—or are responses to—its predecessors. Moreover, the creation of Java was deeply rooted in the process of refinement and a