Table of ContentsBrief Contents Chapter 1 Getting Started 1 Chapter 2 Console Input and Output 57 Chapter 3 Flow of Control 95 Chapter 4 Defining Classes I 167 Chapter 5 Defining Classes II 253 Chapter 6 Arrays 339 Chapter 7 Inheritance 419 Chapter 8 Polymorphism and Abstract Classes 473 Chapter 9 Exception Handling 513 Chapter 10 File I/O 567 Chapter 11 Recursion 639 Chapter 12 UML and Patterns 677 Chapter 13 Interfaces and Inner Classes 699 Chapter 14 Generics and the ArrayList Class 747 Chapter 15 Linked Data Structures 791 Chapter 16 Collections, Maps and Iterators 889 Chapter 17 Swing I 933 Chapter 18 Swing II 1011 Chapter 19 Java Never Ends 1077 Chapter 20 Applets and HTML (online at www.aw.com/savitch) Appendix 1 Keywords 1131 Appendix 2 Precedence and Associativity Rules 1133 Appendix 3 Unicode Character Set 1135 Appendix 4 Format Specifications for printf 1137 Appendix 5 Summary of Classes and Interfaces 1139 IndeX 1207
Biographical NotesWalter Savitch is Professor Emeritus of Computer Science at the University of California at San Diego. He received his PhD in mathematics from the University of California at Berkeley in 1969. Since that time he has been on the faculty of the University of California in San Diego (UCSD). He served as director of the UCSD Interdisciplinary PhD program in Cognitive Science for over ten years. He has served as a visiting researcher at the Computer Science departments of the University of Washington in Seattle and and at the University of Colorado in Boulder, and has been a visiting scholar at the Centrum voor Wiskunde en Informatica in Amsterdam.