Java编程语言(第三版 影印版)
基本信息
编辑推荐
本书介绍的是Java语言的最新版本,该版本在《Java Language Specification,Second Edition》中定义,在Java2SDK1.3标准版中实现。本书已是第三版,在经构上相对前两版有所调整,重点讲述了新的语言特征,并提供了新API的使用实例。本书完全覆盖了Java语言当前版本的特征和类库,可以作为Java语言的入门向导,也可作为高级Java开发及Java语言教学的参考用书。
内容简介回到顶部↑
[a href="http://www.china-pub.com/computers/common/info.asp?id=15495" target="_blank"]java编程语言(第三版)
中文版[/a]
现在市面上充斥着各种各样的介绍java的书籍。显然,选择一本合适的书籍对我们学习java语言有着重要的影响。本书由有"java之父"之称的james gosling以及另外两位面向对象世界里的大师(ken arnold和david holmes)共同撰写,修正了前两版中的瑕疵之处,并对最新的java技术进行了介绍,其权威性和经典性不容质疑。本书共分20章,按照由浅入深的顺序对java语言做了详尽的介绍。同时,本书还提供了一些练习,以方便读者的掌握和理解,这也是许多其他著作所没有的。
现在市面上充斥着各种各样的介绍java的书籍。显然,选择一本合适的书籍对我们学习java语言有着重要的影响。本书由有"java之父"之称的james gosling以及另外两位面向对象世界里的大师(ken arnold和david holmes)共同撰写,修正了前两版中的瑕疵之处,并对最新的java技术进行了介绍,其权威性和经典性不容质疑。本书共分20章,按照由浅入深的顺序对java语言做了详尽的介绍。同时,本书还提供了一些练习,以方便读者的掌握和理解,这也是许多其他著作所没有的。
作译者回到顶部↑
本书提供作译者介绍
Ken Arnold Sun Microsystems实验室的总工程师,面向对象设计及实现方面的专家,是Jini技术的创建者之一,也是Sun Javaspaces技术的首席工程师。他特别擅长于编写UNIX下的C和C++程序,同时也是面向对象设计、C和C++领域的知名专家。
James Gosling sun Microsystems的副总裁,Java语言的创建者,也是计算机待业最负盛名的程序员之一。他是1996年《Software Development》杂志“最佳编程奖”的获得者。以前,他开发过NeWS.Sun公司的网络扩展窗口系统,并且是卡耐基梅隆大学Andrew项目的负责人之一。.. << 查看详细
James Gosling sun Microsystems的副总裁,Java语言的创建者,也是计算机待业最负盛名的程序员之一。他是1996年《Software Development》杂志“最佳编程奖”的获得者。以前,他开发过NeWS.Sun公司的网络扩展窗口系统,并且是卡耐基梅隆大学Andrew项目的负责人之一。.. << 查看详细
目录回到顶部↑
1 a quick tour
1.1 getting started
1.2 variables
1.3 comments in code
1.4 named constants
1.5 unicode characters
1.6 flow of control
1.7 classes and objects
1.7.1 creating objects
1.7.2 static or class fields
1.7.3 the garbage collector
1.8 methods and parameters
1.8.1 invoking a method
1.8.2 the this reference
1.8.3 static or class methods
1.9 arrays
1.10 string objects
1.11 extending a class
1.11.1 invoking methods from the superclass
1.11.2 the object class
1.1 getting started
1.2 variables
1.3 comments in code
1.4 named constants
1.5 unicode characters
1.6 flow of control
1.7 classes and objects
1.7.1 creating objects
1.7.2 static or class fields
1.7.3 the garbage collector
1.8 methods and parameters
1.8.1 invoking a method
1.8.2 the this reference
1.8.3 static or class methods
1.9 arrays
1.10 string objects
1.11 extending a class
1.11.1 invoking methods from the superclass
1.11.2 the object class
前言回到顶部↑
Beautiful buildings are more than scientific. They are true organisms, spiritually conceived; works of art using the best technology by inspiration rather than the idiosyncrasies of mere taste or any averaging by the committee mind.
——Frank Lloyd Wright
HE Java TM programming language has been warmly received by the world community of software developers and Internt content Providers. Users of the Internet and World Wide Web benefit from access to secure, platform-independent applications that can come from anywhere on the Internet. Software developers who create applications in the Java programming language benefit by developing code only once, with no need to "port" their applications to every software and
hardware platform.
For many the language was known first as a tool to create applets for the World Wide Web. An applet is a mini-application that runs inside a Web page. An applet can perform tasks and interact with users on their browser pages without using resources from the Web server after being downloaded. Some applets may, of course, talk with the server to do their job, but that's their business.
The Java programming language is indeed valuable for distributed network environments like the Web. However, it goes well beyond this domain to provide a powerful general-purpose programming language suitable for building a variety of applications that either do not depend on network features, or want them for different reasons. The ability to execute downloaded code on remote hosts in a secure manner is a critical requirement for many organizations.
Other groups use it as a general-purpose Programming language for projects in which machine independence is less important. Ease of Programming and safety features help you quickly produce working code. Some common programming errors never occur because of features like garbage collection and type-safe references. Support for multithreading cates to modern network-based and graphical user interface-based applications that must attend to multiple tasks simultaneously and the mechanisms of exception handling ease the task of dealing with error conditions. While the built-in tools are powerful, it is a simple language in which programmers can quickly become proficient.
The Java programming language is designed for maximum portability with as few implementation dependencies as possible. An int, for example, is a 32-bit signed two's-complement integer in all implementations, irrespective of the CPU architecture on which the program executes. Defining everything possible about the language and its runtime environment enables users to run compiled code anywhere and share code with anyone who has a Java runtime environment.
ABOUT THIS BooK
This book teaches the Java Programming language to people who are familiar with basic programming concepts. It explains the language without being arduously formal or complete. This book is not an introduction to object-oriented programming, although some issues are covered to establish a common terminology.
Other books in this series, and much online documentation, focus on applets,graphical interfces, databases, components, and other specific kinds of programming tasks. For other references, see "Further Reading" on page 563.
This third edition includes the changes introduced in the Java 2 Platform, such as the new strictfp keyword, collection classes, and reference objects, as implemented in the Java 2 SDK, Standard Edition Version 1.3 (sometimes colloquially referred to as JDK l.3 or simply l.3). You will also find brief coverage of the other main packages. If you have already read the second edition, you will find that much of the information in this edition has been restructured to improve the presentation of language features--such as nested classes and interfaceler—and
class API's. This edition will give you a lot of new information, but since most of the language is unchanged, and almost all main package types are still usable, you will want to pay most attention to the newer areas.
The Java programming language shares many features common to most programming languages in use today. The language should look familiar to C and C++ programmers because it was designed with C and C++ constructs where the languages are similar. That said, this book is neither a comparative analysis nor a "bridge" tutorial--no knowledge of C or C++ is assumed. C++ programmers,
especially may be as hindered by what they must unlearn as they are helped by their knowledge.
Chapter 1-A Quick Tour-gives a quick overview of the language. Programmers who are unfamiliar with object-oriented programming notions should read the quick tour, while programmers who are already familiar with object-oriented programming paradigms will find the quick tour a useful introduction to the object-oriented features of the language.
Chapters 2, 3, 4, and 5 cover the object-oriented core featurs of the language, namely class declarations that define components of a program, and objects manufactured according to class definitions. Chapter 2--Classes and Objects describes the basis of the language: classes. Chapter 3—Extending Classes describes how an existing class can be extended or subclassed to create a new class with additional data and behavior. Chapter 4—Interfaces—describes how to declare interface types which are abstract descriptions of behavior that provide maximum flexibility for class designers and implementors. Chapter 5—Nested Classes and Interfces—describes how classes and interfaces can be declared inside other classes and interfaces, and the benefits that provides.
Chapters 6 and 7 cover standard constructs common to most languages. Chapter 6—Tokens, Operators, and Expressions—describes the tokens of the language from which statements are constructed, how the tokens and operators are used to buld expressions, and how expressions are evaluated. Chapter 7--Control Flow—describes how control statements direct the order of statement execution.
Chapter 8—Exceptions—describes the language's powerful error- handling capabilities. Chapter 9—String—describes the built-in language and runtime support for String objects.
Chapter 10—Thread—explains the language's view of multithreading. Many applications, such as graphical interface—based software, must attend to multiple tasks simultaneously. These tasks must cooperate to behave correctly, and threads meet the needs of cooperative multitasking.
——Frank Lloyd Wright
HE Java TM programming language has been warmly received by the world community of software developers and Internt content Providers. Users of the Internet and World Wide Web benefit from access to secure, platform-independent applications that can come from anywhere on the Internet. Software developers who create applications in the Java programming language benefit by developing code only once, with no need to "port" their applications to every software and
hardware platform.
For many the language was known first as a tool to create applets for the World Wide Web. An applet is a mini-application that runs inside a Web page. An applet can perform tasks and interact with users on their browser pages without using resources from the Web server after being downloaded. Some applets may, of course, talk with the server to do their job, but that's their business.
The Java programming language is indeed valuable for distributed network environments like the Web. However, it goes well beyond this domain to provide a powerful general-purpose programming language suitable for building a variety of applications that either do not depend on network features, or want them for different reasons. The ability to execute downloaded code on remote hosts in a secure manner is a critical requirement for many organizations.
Other groups use it as a general-purpose Programming language for projects in which machine independence is less important. Ease of Programming and safety features help you quickly produce working code. Some common programming errors never occur because of features like garbage collection and type-safe references. Support for multithreading cates to modern network-based and graphical user interface-based applications that must attend to multiple tasks simultaneously and the mechanisms of exception handling ease the task of dealing with error conditions. While the built-in tools are powerful, it is a simple language in which programmers can quickly become proficient.
The Java programming language is designed for maximum portability with as few implementation dependencies as possible. An int, for example, is a 32-bit signed two's-complement integer in all implementations, irrespective of the CPU architecture on which the program executes. Defining everything possible about the language and its runtime environment enables users to run compiled code anywhere and share code with anyone who has a Java runtime environment.
ABOUT THIS BooK
This book teaches the Java Programming language to people who are familiar with basic programming concepts. It explains the language without being arduously formal or complete. This book is not an introduction to object-oriented programming, although some issues are covered to establish a common terminology.
Other books in this series, and much online documentation, focus on applets,graphical interfces, databases, components, and other specific kinds of programming tasks. For other references, see "Further Reading" on page 563.
This third edition includes the changes introduced in the Java 2 Platform, such as the new strictfp keyword, collection classes, and reference objects, as implemented in the Java 2 SDK, Standard Edition Version 1.3 (sometimes colloquially referred to as JDK l.3 or simply l.3). You will also find brief coverage of the other main packages. If you have already read the second edition, you will find that much of the information in this edition has been restructured to improve the presentation of language features--such as nested classes and interfaceler—and
class API's. This edition will give you a lot of new information, but since most of the language is unchanged, and almost all main package types are still usable, you will want to pay most attention to the newer areas.
The Java programming language shares many features common to most programming languages in use today. The language should look familiar to C and C++ programmers because it was designed with C and C++ constructs where the languages are similar. That said, this book is neither a comparative analysis nor a "bridge" tutorial--no knowledge of C or C++ is assumed. C++ programmers,
especially may be as hindered by what they must unlearn as they are helped by their knowledge.
Chapter 1-A Quick Tour-gives a quick overview of the language. Programmers who are unfamiliar with object-oriented programming notions should read the quick tour, while programmers who are already familiar with object-oriented programming paradigms will find the quick tour a useful introduction to the object-oriented features of the language.
Chapters 2, 3, 4, and 5 cover the object-oriented core featurs of the language, namely class declarations that define components of a program, and objects manufactured according to class definitions. Chapter 2--Classes and Objects describes the basis of the language: classes. Chapter 3—Extending Classes describes how an existing class can be extended or subclassed to create a new class with additional data and behavior. Chapter 4—Interfaces—describes how to declare interface types which are abstract descriptions of behavior that provide maximum flexibility for class designers and implementors. Chapter 5—Nested Classes and Interfces—describes how classes and interfaces can be declared inside other classes and interfaces, and the benefits that provides.
Chapters 6 and 7 cover standard constructs common to most languages. Chapter 6—Tokens, Operators, and Expressions—describes the tokens of the language from which statements are constructed, how the tokens and operators are used to buld expressions, and how expressions are evaluated. Chapter 7--Control Flow—describes how control statements direct the order of statement execution.
Chapter 8—Exceptions—describes the language's powerful error- handling capabilities. Chapter 9—String—describes the built-in language and runtime support for String objects.
Chapter 10—Thread—explains the language's view of multithreading. Many applications, such as graphical interface—based software, must attend to multiple tasks simultaneously. These tasks must cooperate to behave correctly, and threads meet the needs of cooperative multitasking.
评论交流
共有28人开贴评论 52人参与评论 28人参与打分 查看
评价等级:







发表于:2008-2-12 14:08:00
因转行半价转让此书。全新,价格33元。北京石景山或宣武自取。
QQ:30510631,E-Mail:jerrycdc@163.com联系时请注明。
另有:
JAVA Web开发详解 原价99元
JAVA编程思想(英文版 第三版) 原价66元
精通Jbuilder 2005 原价69元
JAVA学习笔记(JDK5.0) 原价48元
JSP应用开发详解(第二版) 原价55元
Tomcat与Java Web开发技术详解 原价45元
ORACLE10g JDEVELOPER与J2EE实战演练 原价49元
Visual Basic2003~2005开发秘诀与范例大全原价80元
以上书籍均半价转让。
QQ:30510631,E-Mail:jerrycdc@163.com联系时请注明。
另有:
JAVA Web开发详解 原价99元
JAVA编程思想(英文版 第三版) 原价66元
精通Jbuilder 2005 原价69元
JAVA学习笔记(JDK5.0) 原价48元
JSP应用开发详解(第二版) 原价55元
Tomcat与Java Web开发技术详解 原价45元
ORACLE10g JDEVELOPER与J2EE实战演练 原价49元
Visual Basic2003~2005开发秘诀与范例大全原价80元
以上书籍均半价转让。
评价等级:



发表于:2007-1-4 16:34:00
这本书基本看完了。看到后面就感觉到一个缺点:讲的不够细。给三颗半吧
这本书应该是面向有一定java基础的,想要深入理解JAVA的基本语言特性和设计理念的读者的,主要内容是关于java语言最核心、最基本的部分。
但是我感觉就这一点而言,它不够细,很多东西一笔带过。我认为与其这样还不如不说。反正该书也没指望能涵盖JAVA的方方面面。
与它定位类似的 The C++ Programming Language 则做的很好。作者的语言功底感觉也比本书强。
这样看来也就能够理解为什么本书在 JAVA 界的地位不如 TC++PL 在 C++ 界的地位了。
p.s. 上次给了四星,这次少给一个,平均一下。
这本书应该是面向有一定java基础的,想要深入理解JAVA的基本语言特性和设计理念的读者的,主要内容是关于java语言最核心、最基本的部分。
但是我感觉就这一点而言,它不够细,很多东西一笔带过。我认为与其这样还不如不说。反正该书也没指望能涵盖JAVA的方方面面。
与它定位类似的 The C++ Programming Language 则做的很好。作者的语言功底感觉也比本书强。
这样看来也就能够理解为什么本书在 JAVA 界的地位不如 TC++PL 在 C++ 界的地位了。
p.s. 上次给了四星,这次少给一个,平均一下。
| 我要写评论 |
| 查看所有评论交流(共28条) |













加载中...


