自Lewis和Loftus出版这本世界上最畅销的书籍以来,便改变了人们对整个初级程序开发课程的学习观念,此书正是为全面透彻学习Java而编写的一本专业书。在第六版中为正在学习Java的人们添加了许多非常实用的内容,使得本书继续在计算机科学的教育领域内处于领先的地位。
本书对面向对象的思想和机制进行了准确而透彻的剖析,为读者深入学习Java语言程序设计提供了全面、详细的指导。全书覆盖了面向对象设计的广泛内容,介绍了Java语言的基本数据类型、流程控制、类和对象等。在深入分析面向对象设计方法的基础上,介绍了封装机制、继承机制和多态性的实现与应用、异常的捕捉和处理、集合类的定义方法和泛型类的概念,书中提供了大量具有可实践性的程序实例、自测题及答案、练习题和编程项目、生动的“软件失误案例”和“视频讲解”学习辅导短片,并且在每章中都补充了针对本章主题的图形用户界面(GUI)设计知识和实例,这部分内容可形成完整的Java GUI设计知识体系。此外本书还有内容丰富的附录。
本书适合作为高等院校软件专业与计算机应用专业的教材,同样对工程技术人员也有很高的参考价值。
Preface
Chapter 1 Introduction
1.1 Computer Processing
Software Categories
Digital Computers
Binary Numbers
1.2 Hardware Components
Computer Architecture
Input/Output Devices
Main Memory and Secondary Memory
The Central Processing Unit
1.3 Networks
Network Connections
Local-Area Networks and Wide-Area Networks
The Internet
The World Wide Web
Uniform Resource Locators
1.4 The Java Programming Language
A Java Program
Comments
Identifiers and Reserved WordS
White Space
1.5 Program Development
Programming "Language Levels
Editors, Compilers, and Interpreters
Development Environments
Syntax and Semantics
Errors
1.6 Object-Oriented Programming
Problem Solving
Object-Oriented Software Principles
Chapter 2 Data and Expressions
Chapter 3 Using Classes and Objects
Chapter 4 Writing Classes
Chapter 5 Conditionals and Loops
Chapter 6 Object-Oriented Design
Chapter 7 Arrays
Chapter 8 Inheritance
Chapter 9 Polymorphism
Chapter 10 Exceptions
Chapter 11 Recursion
Chapter 12 Collections
Appendix