1. New VideoNotes, created by author Tony Gaddis, provide extra examples and demonstrate how to solve problems. Icons throughout the text indicate that a VideoNote accompanies a particular topic. The VideoNotes are available to instructors and students through an open-access website, or on CD.
2. In the Spotlight features in the first eight foundational chapters walk students through the design of a problem by showing all steps.
3. New Programming Problems have been added throughout the book.
4. Refinements in the presentation of select topics, including decision structures, make explanations more clear.
5. Procedural programming — control structures and methods —is covered before objects ensuring that students understand fundamental programming and problem-solving concepts.
6. The Fourth Edition is fully compatible with both Java (J2SE) 5.0 and the new version, Java 6.0.
7. A clear and student-friendly writing style with stepped-out explanations motivates beginning programmers.
8. Concise and practical real-world examples that students understand and relate to are included to foster motivation and retention.
9. A variety of exercises in each chapter encourages students to put concepts to work as they are learned. 10. Each new copy of the Fourth Edition comes with a Student Resource Disk that includes source code, appendices, case studies, and multiple Java development platforms.
目 錄
Ch 1 Introduction to Computers and Java
Ch 2 Java Fundamentals
Ch 3 Decision Structures
Ch 4 Loops and Files
Ch 5 Methods
Ch 6 A First Look at Classes
Ch 7 A First Look at GUI Applications
Ch 8 Arrays and the ArrayList Class
Ch 9 A Second Look at Classes and Objects
Ch 10 Text Processing and More about Wrapper Classes
Ch 11 Inheritance
Ch 12 Exceptions and Advanced File I/O
Ch 13 Advanced GUI Applications
Ch 14 Applets and More
Ch 15 Recursion
Student CD-ROM:
App A Getting Started with Alice
App B The ASCII/Unicode Characters
App C Operator Precedence and Associativity
App D Java Key Words
App E Installing the JDK and JDK Documentation
App F Using the javadoc Utility
App G More about the Math Class
App H Packages
App I Working with Records and Random Access Files
App J More about JOptionPane Dialog Boxes
App K Answers to Checkpoints
App L Answers to Odd-Numbered Review Questions
Case Study 1 Calculating Sales Commission
Case Study 2 The Amortization Class
Case Study 3 The PinTester Class
Case Study 4 Parallel Arrays
Case Study 5 The FeetInches Class
Case Study 6 The SerialNumber Class
Case Study 7 A Simple Text Editor Application