Java面向?qū)ο蟪绦蛟O(shè)計(jì)

出版時(shí)間:2004-10  出版社:清華大學(xué)出版社  作者:(美)阿諾(Arnow,D.M.),(美)德克斯特(Dexter,S.),(美)衛(wèi)斯(Weiss,G.)等著  頁(yè)數(shù):680  
Tag標(biāo)簽:無(wú)  

內(nèi)容概要

本書是由在大學(xué)任教的教授寫給選修編程課程學(xué)生的基礎(chǔ)教材,并不要求學(xué)生具備編程背景。本書從第一章開(kāi)始就引入了對(duì)象、類、消息等基本概念,自始至終從面向?qū)ο蟮慕嵌仁棺x者建立起編程的堅(jiān)實(shí)基礎(chǔ)。本書將重點(diǎn)放在軟件開(kāi)發(fā)過(guò)程的講解,注重實(shí)用性與可操作性?!皥D形用戶界面(GUI)設(shè)計(jì)實(shí)例”和“Java應(yīng)用技巧”兩個(gè)部分貫穿全書每一章,以加強(qiáng)讀者對(duì)核心概念的理解。本書重點(diǎn)介紹了Java語(yǔ)言及其類庫(kù),以及大量編程技巧和算法,使讀者能夠通過(guò)學(xué)習(xí)本教材具備用軟件解決實(shí)際問(wèn)題的能力。    本書內(nèi)容豐富,范例程序詳實(shí),適合作為Java程序設(shè)計(jì)的學(xué)習(xí)用書。

作者簡(jiǎn)介

作者:(美國(guó))阿諾(Arnow David M.) (美國(guó))德克斯特 (Dexter Scott) (美國(guó))衛(wèi)斯 (Weiss Gerald)

書籍目錄

CHAPTER 1 Jumping into Java  1.1 Computers and Programs  1.2 Programs and Models  1.3 Objects,Classes,and Messages  1.4 Our First Object:A PrintStream  1.5 Sending a Message to the System out Object  1.6 A Java Program  1.7 Mechanics  1.8 Time  Summary  Key Terms  Questions for Review  Exercises  Introduction:Web Pages,HTML,and AppletsCHAPTER 2 Sending Messages and Performing Operations 2.1 Introduction 2.2 Using PrintStream Objects References,Methods,and Messages 2.3 The String Class 2.4 Methods,Arguments,and Return Values 2.5 Reference Variables Variables and Assignment 2.6 Imperative Programming:Doing the Work 2.7 Using String Methods 2.8 Imperative Programming:Simple Conditionals Summary Key Terms Questions for Review Exercises Painting and Positioning GraphicsCHAPTER 3 Working with Objects and Primitive Types 3.1 Introduction 3.2 Creating Objects Origins of Objects 3.3 Imperative Programming:The boolean Type 3.4 Working with Objects 3.5 Dates and Calendars 3.6 Imperative Programming:Other Integer Types 3.7 BigInteger Packages and the import Statement 3.8 Introduction to Input 3.9 The File Input Process 3.10 Keyboard Input 3.11 File Output 3.12 Network Computing:An Introduction Java Documentation Summary Key Terms Questions for Review Exercises Toward AnimationCHAPTER 4 Defining Classes 4.1 Introduction 4.2 Class Definition:Methods 4.3 Class Definition:Instance Variables 4.4 More on Methods:Return Values 4.5 Imperative Programming:Finding the Minimum Variables,Declarations,and the return Statement 4.6 Still More on Methods:Parameters 4.7 State and Behavior 4.8 Class Definition:Putting It All Together Declarations,Access,and Objects Summary Key Terms Questions for Review Exercises A Simple AnimationCHAPTER 5 Advanced Class Definition 5.1 Customizing New Objects:Constructors Constructors,Initializers,and Overloading 5.2 Example:A Name Class 5.3 Providing Class Behaviors Static Methods 5.4 Tracking Class-Wide Information:Static Variables 5.5 Defining Constant Values:final Working with Objects 5.6 Input Methods Revisited:Testing for End of Input Summary Key Terms Questions for Review Exercises Creating Controls and InteractionCHAPTER 6 Inside the Method:Imperative Programming 6.1 Introduction 6.2 A Metric Conversion Class float,double,and the for Statement 6.3 Approximating the Value of π 6.4 Cascaded and Compound Conditional Statements Logical Operators and Conditional Statements Summary Key Terms Questions for Review Exercises More on InteractionCHAPTER 7 Designing Classes 7.1 Introduction 7.2 Designing Classes-An Overview 7.3 The Counter Class Revisited 7.4 An Automated Teller Machine 7.5 Dispatching Repairpeople:An Example Summary Key Terms Questions for Review Exercises Multiple Controls:Layout and Event HandlingCHAPTER 8 Verifying Object Behavior 8.1 Introduction 8.2 Categories of Errors Java's Assertion Facility 8.3 Test Drivers 8.4 Automatic Testing 8.5 What to Test and How to Test It 8.6 Debugging Techniques Summary Key Terms Questions for Review Exercises Separating Display and ControlCHAPTER 9 Working with Multiple Objects 9.1 Introduction 9.2 Processing Multiple Objects 9.3 Loop Patterns 9.4 The Impact of Loops on Testing 9.5 A Telephone Book 9.6 Maintaining Multiple Values 9.7 Vector-A Simple Collection Class 9.8 Traversing Vectors Using for Loops 9.9 Revisiting the TelephoneBook Class Primitive Types and Collections:Revisiting the Wrapper Classes 9.10 An Example-Determining a Student's Relative Performance 9.11 Another Vector Application object Methods 9.12 Introducing Arrays 9.13 Vectors and Arrays 9.14 Coin Flipping with Arrays Summary Key Terms Questions for Review Exercises Positioning TextCHAPTER 10 Designing Iteration 10.1 Introduction 10.2 Designing Loops Two Loop Statements 10.3 Another Simple Example 10.4 Revisiting Loop Patterns 10.5 Variations on the Repairperson Loop 10.6 Totaling a Bank's Accounts 10.7 More Loop Patterns:Counters,Accumulators,and Extremes 10.8 Iterating Through Arrays Short Circuits,break,and continue 10.9 A Loop Design Strategy:Refining an Imperfect Solution 10.10 Example:The LOGO Turtle Summary Key Terms Questions for Review Exercises More Text ManipulationCHAPTER 11 Maintaining Collections of Objects 11.1 Overview 11.2 Searching 11.3 Binary Search 11.4 Finding the Index of an Extreme 11.5 Sorting  11.6 Searching Files 11.7 Threads:Computing in Parallel 11.8 Threads:A Parallel File Search Summary Key Terms Questions for Review Exercises ThreadsCHAPTER 12 Extending Class Behavior 12.1 Introduction 12.2 Extending Classes-Inheritance I 12.3 A Better BufferedReader 12.4 Sdding State to the Subclass-Accessing the Superclass's State 12.5 Revisiting the Name Class-Adding Additional State Inheritance 12.6 Overriding Methods Polymorphism 12.7 Factoring Out Common Behavior-Inheritance II 12.8 Abstract Methods and Classes 12.9 Specifying Common Behavior-Interfaces 12.10 A Generic Sorting Method Summary Key Terms Questions for Review Exercises Exploring the Abstract Window Toolkit of the Java Class HierarchyCHAPTER 13 Exceptions 13.1 Expect the Unexpected 13.2 Encountering the Unexpected The Exception Class 13.3 Handling the Unexpected 13.4 Responsibility for the Unexpected 13.5 Exceptions Are Not Always Errors Summary Key Terms Questions for Review Exercises The Model-View-Controller(MVC)ParadigmCHAPTER 14 Recursion 14.1 Introduction 14.2 Example:Exponentiation 14.3 How to Design a Recursive Method 14.4 Recursive Methods:Under the Hood 14.5 Recursion with Vectors,Arrays,and Strings 14.6 Permutations 14.7 Towers of Hanoi 14.8 Recursion and Iteration Summary Key Terms Questions for Review Exercises Towers of Hanoi AppletCHAPTER 15 Client-Server Computing 15.1 Clients and Servers 15.2 Internet Communiction 15.3 Client-Server Computing 15.4 Some Simple Client Classes Summary Key Terms Questions for Review Exercises Swing APPENDIX A GlossaryAPPENDIX B Three Java EnvironmentsAPPENDIX C AWIOAPPENDIX D Traversing Collections Using Enumerations

圖書封面

圖書標(biāo)簽Tags

無(wú)

評(píng)論、評(píng)分、閱讀與下載


    Java面向?qū)ο蟪绦蛟O(shè)計(jì) PDF格式下載


用戶評(píng)論 (總計(jì)2條)

 
 

  •   看完后英語(yǔ)水平肯定會(huì)有所提升!
  •   這本書所舉例子很形象,讓人容易理解面向?qū)ο蟮降资鞘裁?,而且每章的后面都有重要概念的總結(jié),是本不錯(cuò)的JAVA入門書。
 

250萬(wàn)本中文圖書簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書網(wǎng) 手機(jī)版

京ICP備13047387號(hào)-7