Paul is professor of Computer Science and a Director of Research at the Institute for Computational Mathematics,at Kent State University,Kent,Ohio,USA.A PH.D.and faculty member from the Massachusetts Institute of Technology.
【目录】
Introduction
Chapter 1 Classes and Objects
1.1 Java Program Structure
1.2 A First Program
1.3 Defining Methods
1.4 Data Types and Variable Declarations
1.5 Data Abstraction and Encapsulation
1.6 Classes and Objects
1.7 String Basics
1.8 Arrays
1.9 Method Invocation and Argument Passing
1.10 Standard I/O
1.11 Command-line Arguments and main
1.12 Problem Solving with Objects
1.13 Solution via Objects
1.14 Object-oriented Thinking
1.15 Code Organization
1.16 Programming Tips
1.17 Summary
Exercises
Chapter 2 Java Features and Constructs
2.1 ASCII Character I/O
2.2 File I/O
2.3 Basic Error and Exception Handling
2.4 A Class of Fractions
2.5 Identifier Scoping
2.6 Instance and Classwide Members
2.7 Symbolic Constants
2.8 Using Arrays: Quicksort
2.9 String and StringBuffer
2.10 Two-Dimensional Arrays
2.11 A Matrix Class
2.12 Type Conversions
2.13 Implicit Type Conversion
2.14 Explicit Type Casts
2.15 Programming Tips
2.16 Summary
Exercises
Chapter 3 Object-Based Programming
3.1 A Term Life Insurance Account
3.2 A Term Life Premium Calculator
3.3 Java Wrapper Classes
3.4 Operations on Characters
3.5 A URL Decoder
3.6 A Circular Buffer
3.7 Pocket Calculator Simulation
3.8 Linked List
3.9 Overloading Methods
3.10 Storage Allocation and Management
3.11 Summary
Exercises
Chapter 4 Inheritance and Class Extension
4.1 Advantages of Inheritance
4.2 Class Extension Basics
4.3 Class Scope Nesting
4.4 Extended Object Composition
4.5 Free Checking Account
4.6 Access Control under Class Extension
4.7 Class Extension Principles
4.8 Subclass Constructors
4.9 Subclass Finalize
4.10 Type Relations under Inheritance
4.11 Field Access under Subclassing
4.12 Hiding of Fields and Static Methods
4.13 Method Access under Subclassing
4.14 Method Overriding
4.15 Dynamic Invocation of Overriding Methods
4.16 Example: Numeric Wrapper Classes
4.17 Method Overloading in Subclasses
4.18 Calculator with SQRT
4.19 The Object Class and Generic Codes
4.20 Managing Text Lines
4.21 Writing Generic Programs
4.22 Generic List
4.23 Generic Stack
4.24 Summary
Exercises
Chapter 5 OOP Techniques: Interfaces and Polymorphism
5.1 Programming with Plug-Compatible Objects
5.2 Using Plug-Compatible Components
5.3 Planning Uniform Public Interfaces
5.4 Defining Interfaces
5.5 Implementing Interfaces
5.6 Why Interfaces?
5.7 Extending Interfaces
5.8 Abstract Superclass
5.9 Abstract Sequence
5.10 A Sequence of Dates
5.11 Ordering Text Lines
5.12 Interfaces versus Abstract Classes
5.13 Cloning Objects
5.14 Inheritance Planning
5.15 Summary
Exercises
Chapter 6 Packages and Core Classes
6.1 Packages
6.2 Java-Supplied Packages
6.3 Accessing Java Documentation
6.4 Input and Output
6.5 File I/O
6.6 Buffered I/O
6.7 Print Writers
6.8 Term Life Account Files
6.9 File Updating
6.10 Other I/O Streams
6.11 Textual and Unicode Character I/O
6.12 Noncharacter I/O
6.13 Object I/O
6.14 Number and Date Formatting
6.15 Error and Exception Handling
6.16 Matrix with Exceptions: An example
6.17 Character-Based Standard I/O and Error Reporting
以下为对购买帮助不大的评价