Walter Savitch,他是一名造詣深并具有豐富教學(xué)經(jīng)驗(yàn)的教授,加州大學(xué)圣迭戈分校退休教授,1969年于加州大學(xué)伯克利分校獲得博士學(xué)位,曾擔(dān)任加州大學(xué)圣迭戈分校計(jì)算機(jī)科學(xué)系教授和認(rèn)知科學(xué)跨學(xué)科博士項(xiàng)目主任。同時(shí)也是多部經(jīng)典教材(如《C++面向?qū)ο蟪绦蛟O(shè)計(jì)》)的作者。他的寫(xiě)作風(fēng)格引人人勝,頗受讀者歡迎。他擅長(zhǎng)于以言簡(jiǎn)意賅的形式,深入淺出的風(fēng)格,來(lái)講解難以理解的知識(shí)點(diǎn)。
圖書(shū)目錄
Chapter 1 GETTING STARTED 1.1 INTRODUCTION TO JAVA 1.2 EXPRESSIONS AND ASSIGNMENT STATEMENTS 1.3 THE CLASS STRING 1.4 PROGRAM STYLE Chapter 2 CONSOLE INPUT AND OUTPUT 2.1 SCREEN OUTPUT 2.2 CONSOLE INPUT USING THE SCANNER CLASS Chapter 3 FLOW OF CONTROL 3.1 BRANCHING MECHANISM 3.2 BOOLEAN EXPRESSIONS 3.3 LOOPS Chapter 4 DEFINING CLASSES I 4.1 CLASS DEFINITIONS 4.2 INFORMATION HIDING AND ENCAPSULATION 4.3 OVERLOADING 4.4 CONSTRUCTORS Chapter 5 DEFINING CLASSES II 5.1 STATIC METHODS AND STATIC VARIABLES 5.2 REFERENCES AND CLASS PARAMETERS 5.3 USING AND MISUSING PEFERENCES 5.4 PACKAGES AND JAVADOC Chapter 6 ARRAYS 6.1 INTRODUCTION TO ARRAYS 6.2 ARRAYS AND REFERENCES 6.3 PROGRAMMING WITH ARRAYS 6.4 MULTIDIMENSIONAL ARRAYS Chapter 7 INHERITANCE 7.1 INHERITANCE BASICS 7.2 ENCAPPSULATION AND INHERITANCE 7.3 PROGRAMMING WITH INHERITANCE Chapter 8 POLYMORPHISM AND ABSTRACT CLASSES 8.1 POLYMORPHISM 8.2 ABSTRACT CLASSES Chapter 9 EXCEPTION HANDLING 9.1 EXCEPTION HANDLING BASICS 9.2 THROWING EXCEPTIONS IN METHODS 9.3 MORE PROGRAMMING TECHNIQUES FOR EXCEPTION HANDLING Chapter 10 FILE I/O 10.1 INTRODUCTION TO FILE I/O 10.2 TEXT FILES 10.3 THE FILE CLASS 10.4 BINARY FILES 10.5 RANDOM ACCESS TO BINARY FILES Chapter 11 RECURSION 11.1 RECURSIVE VOID METHODS 11.2 RECURSIVE METHODS THAT RETURN A VALUE 11.3 THINKING RECURSIVELY Chapter 12 UML AND PATTERNS 12.1 UML 12.2 PATTERNS Chapter 13 INTERFACES AND INNER CLASSES 13.1 INTERFACES 13.2 SIMPLE USES OF INNER CLASSES 13.3 MORE ABOUT INNER CLASSES Chapter 14 GENERICS AND THE ARRAYLIST CLASS 14.1 THE ARRAYLIST CLASS 14.2 GENERICS Chapter 15 LINKED DATA STRUCTURES 15.1 JAVA LINKED LISTS 15.2 COPY CONSTRUCTORS AND THE CLONE METHOD 15.3 ITERATORS 15.4 VARIATIONS ON A LINKED LIST 15.5 TREES Chapter 16 COLLECTIONS AND INERATORS 16.1 COLLECTIONS 16.2 ITERATORS Chapter 17 SWING I 17.1 EVENT-DRIVEN PROGRAMMING 17.2 BUTTONS,EVENTS,AND OTHER SWING BASICS 17.3 CONTAINERS AND LAYOUT MANAGERS 17.4 MENUS AND BUTTONS 17.5 TEXT FIELDS AND TEXT AREAS Chapter 18 APPLETS 18.1 A BRIEF INTRODUCTION TO HTML 18.2 PROGRAMMING APPLETS 18.3 APPLETS IN HTML DOCUMENTS Chapter 19 SWING II 19.1 WINDOW LISTENERS 19.2 ICONS AND SCROLL RARS 19.3 THE GRAPHICS CLASS 19.4 COLORS 19.5 FONTS AND THE DRAWSTRING METHOD Chapter 20 JAVA NEVER ENDS 20.1 MULTITHREADING 20.2 JAVABEANS 20.3 JAVA AND DATABASE CONNECTIONS Appendix 1 Keywords Appendix 2 Precedence and Associativity Rules Appendix 3 Unicode Character Set Appendix 4 Format Specifications for printf Appendix 5 Summary of Classes and Interfaces Index