ABSOLUTE JAVA™ 5 th Edition Walter Savitch University of California, San Diego Preface This book is designed to serve as a textbook and reference for programming in the Java language. Although it does include programming techniques, it is organized around the features of the Java language rather than any particular curriculum of programming techniques. The main audience I had in mind when writing this book was undergraduate students who have not had extensive programming experience with the Java language. As such, it would be a suitable Java text or reference for either a first programming course or a later computer science course that uses Java. This book is designed to accommodate a wide range of users. The introductory chapters are written at a level that is accessible to beginners, while the boxed sections of those chapters serve to quickly introduce more experienced programmers to basic Java syntax. Later chapters are still designed to be accessible, but are written at a level suitable for students who have progressed to these more advanced topics. LOCATION OF VIDEONOTES IN THE TEXT www.pearsonhighered.com/savitch Chapter 1 Compiling a Java Program, page 10 Solution to Programming Project 1.7, page 56 Chapter 2 Pitfalls Involving nextLine(), page 83 Solution to Programming Project 2.11, page 97 Solution to Programming Project 2.12, page 98 Chapter 3 Nested Loop Example, page 145 Debugging Walkthrough, page 152 Solution to Programming Project 3.9, page 170 Solution to Programming Project 3.13, page 171 Chapter 4 Information Hiding Example, page 207 Example Using the StringTokenizer Class on a CSV File, page 247 Solution to Programming Project 4.9, page 255 Chapter 5 Deep Copy vs. Shallow Copy Example, page 321 Solution to Programming Project 5.9, page 344 Chapter 6 Arrays of Objects, page 358 Solution to Programming Project 6.8, page 422 Solution to Programming Project 6.15, page 424 Chapter 7 Inheritance Walkthrough, page 432 Solution to Programming Project 7.3, page 477 Solution to Programming Project 7.5, page 479 Chapter 8 Late Binding Example, page 486 Solution to Programming Project 8.1, page 518 Solution to Programming Project 8.9, page 521 Chapter 9 Solution to Programming Project 9.1, page 574 Solution to Programming Project 9.7, page 576 Chapter 10 Reading a Text File, page 589 Solution to Programming Project 10.1, page 643 Solution to Programming Project 10.8, page 645 Chapter 11 Recursion and the Stack, page 660 Solution to Programming Project 11.3, page 684 Chapter 12 Solution to Programming Project 12.9, page 710 Chapter 13 Solution to Programming Project 13.1, page 754 Solution to Programming Project 13.11, page 757 Chapter 14 Solution to Programming Project 14.7, page 801 Chapter 15 Walkthrough of the Hash Table Class, page 868 Solution to Programming Project 15.1, page 893 Chapter 16 Solution to Programming Project 16.3, page 937 Solution to Programming Project 16.5, page 938 Chapter 17 GUI Layout Using an IDE, page 969 Solution to Programming Project 17.1, page 1013 Chapter 18 Walkthrough of a Simple Drawing Program, page 1042 Solution to Programming Project 18.7, page 1077 Chapter 19 Walkthrough of a Program with Race Conditions, page 1094 Solution to Programming Project 19.3, page 1135 Solution to Programming Project 19.11, page 1136 Chapter 20 No video notes (Chapter on website)