出版時(shí)間:2005-7 出版社:機(jī)械工業(yè)出版社 作者:[美] PatrickHenryWinston,SundarNarasimhan著 頁(yè)數(shù):446
Tag標(biāo)簽:無(wú)
內(nèi)容概要
本書(shū)為讀者提供了進(jìn)行Java程序設(shè)計(jì)和改進(jìn)程序設(shè)計(jì)實(shí)踐所需的知識(shí)。在寫(xiě)作方式上,Winston沿襲了他廣為人知的簡(jiǎn)明扼要、條理清晰的著書(shū)風(fēng)格。 書(shū)中的每一章都有的放矢地回答了讀者準(zhǔn)備學(xué)習(xí)一門(mén)新語(yǔ)言時(shí)所要提出的問(wèn)題:這種語(yǔ)言有何特別之處?如何定義方法?如何實(shí)現(xiàn)循環(huán)?如何打開(kāi)文件?如何構(gòu)建圖形用戶界面?這種語(yǔ)言的語(yǔ)法是什么?如何有效地進(jìn)行程序設(shè)計(jì)? 讀者可以從本書(shū)貼切而又循序漸進(jìn)的表述中找到這些問(wèn)題的答案。首先,利用本書(shū)介紹的方法,讀者可以迅速編寫(xiě)出結(jié)構(gòu)完美、功能齊備的程序;其次,讀者可通過(guò)本書(shū)掌握如何改進(jìn)和擴(kuò)展這些程序,學(xué)會(huì)設(shè)計(jì)類層次、利用getter和setter實(shí)現(xiàn)數(shù)據(jù)和過(guò)程抽象、利用接口添加需求、按照模型-視圖方法進(jìn)行系統(tǒng)設(shè)計(jì)、從網(wǎng)絡(luò)查看器訪問(wèn)applet、使用線程實(shí)現(xiàn)動(dòng)態(tài)的applet、通過(guò)資源訪問(wèn)文件、使用swing類構(gòu)造圖形用戶界面等。成功的Winston方法 ●基于廣泛的教學(xué)經(jīng)驗(yàn) ●在內(nèi)容緊湊、以概念為中心的章節(jié)中闡述思想 ●通過(guò)短小但完備的程序展示思想 ●由淺入深、循序漸進(jìn)地逐步解開(kāi)讀者的謎團(tuán) ●強(qiáng)化良好的程序設(shè)計(jì)實(shí)踐的原則 ●通過(guò)有針對(duì)性的練習(xí)鞏固關(guān)鍵概念 ●以if-then的方式概括關(guān)鍵點(diǎn)本版新增內(nèi)容 ●將模型連接至視圖 ●開(kāi)發(fā)自己的布局管理器 ●實(shí)現(xiàn)動(dòng)態(tài)表 ●利用servlet收集信息 ●使用RMI調(diào)用遠(yuǎn)程方法 ●為程序分布構(gòu)造JAR文件。
作者簡(jiǎn)介
Patrick Henry Winston 麻省理工學(xué)院人工智能和計(jì)算機(jī)科學(xué)教授,并從事人類智能的計(jì)算理論的研究。他在人工智能領(lǐng)域十分著名,著有多部思路清晰且見(jiàn)解獨(dú)到的專著。除本書(shū)外,他還著有《On to C》、《On to C++》、《Artificial Intelligence》等書(shū)。
書(shū)籍目錄
1 How this Book Teaches you the Java Programming Language.2 How To Compile and Run a Simple Program.3 How To Declare Variables.4 How To Write Arithmetic Expressions.5 How To Define Simple Methods.6 How To Understand Variable Scope and Extent.7 How To Benefit from Procedure Abstraction.8 How To Declare Class Variables.9 How To Create Class Instances.10 How To Define Instance Methods.11 How To Define Constructors.12 How To Define Getter and Setter Methods.13 How To Benefit from Data Abstraction.14 How To Define Classes that Inherit Instance Variables and Methods.15 How To Enforce Abstraction Using Protected and Private Variables and Methods.16 How To Write Constructors that Call other Constructors.17 How To Write Methods that Call other Methods.18 How To Design Classes and Class Heirarchies.19 How To Enforce Requirements Using Abstract Classes and Abstract Methods.20 How To Enforce Requirements and to Document Programs Using Interfaces.21 How To Perform Tests Using Predicates.22 How To Write Conditional Statements.23 How To Combine Boolean Expressions.24 How To Write Iteration Statements.25 How To Write Recursive Methods.26 How To Write Multiway Conditional Statements.27 How To Work with File Input Streams.28 How To Create and Access Arrays.29 How To Move Arrays into and out of Methods.30 How To Store Data in Expandable Vectors.31 How To Work with Characters and Strings.32 How To Catch Exceptions.33 How To Work with Output File Streams.34 How To Write and Read Values Using the Serializable Interface.35 How To Modularize Programs using Compilation Units and Packages.36 How To Combine Private Variables and Methods with Packages.37 How To Create Windows and to Activate Listeners.38 How To Define Inner Classes and to Structure Applications.39 How To Draw Lines in Windows.40 How To Write Text in Windows.41 How To Use the Model - View Approach to GUI Design.42 How To Define Standalone Observers and Listeners..43 How To Define Applets.44 How To Access Applets from Web Browsers.45 How To Use Resource Locators.46 How To Use Choice Lists To Select Instances.47 How To Bring Images into Applets.48 How To Use Threads To Implement Dynamic Applets.49 How To Create Forms and to Fire Your Own Events.50 How To Display Menus and File Dialog Windows.51 How To Develop Your Own Layout Manager.52 How To Implement Dynamic Tables.53 How To Activate Remote Computations.54 How To Collect Information Using Servlets.55 How To Construct Jar Files for Program Distribution.Appendix A: Operator Precedence.Appendix B: The Meter Canvas.Appendix C: Applet Parameters.Appendix D: The Swing Classes.Appendix E: Layout Managers.Appendix F: The Graphics2d Package.Colophon.Software.Books.
圖書(shū)封面
圖書(shū)標(biāo)簽Tags
無(wú)
評(píng)論、評(píng)分、閱讀與下載
250萬(wàn)本中文圖書(shū)簡(jiǎn)介、評(píng)論、評(píng)分,PDF格式免費(fèi)下載。 第一圖書(shū)網(wǎng) 手機(jī)版