Java2專家導(dǎo)引

出版時(shí)間:2005-7  出版社:機(jī)械工業(yè)出版社  作者:[美] PatrickHenryWinston,SundarNarasimhan著  頁數(shù):446  
Tag標(biāo)簽:無  

內(nèi)容概要

本書為讀者提供了進(jìn)行Java程序設(shè)計(jì)和改進(jìn)程序設(shè)計(jì)實(shí)踐所需的知識。在寫作方式上,Winston沿襲了他廣為人知的簡明扼要、條理清晰的著書風(fēng)格。    書中的每一章都有的放矢地回答了讀者準(zhǔn)備學(xué)習(xí)一門新語言時(shí)所要提出的問題:這種語言有何特別之處?如何定義方法?如何實(shí)現(xiàn)循環(huán)?如何打開文件?如何構(gòu)建圖形用戶界面?這種語言的語法是什么?如何有效地進(jìn)行程序設(shè)計(jì)?    讀者可以從本書貼切而又循序漸進(jìn)的表述中找到這些問題的答案。首先,利用本書介紹的方法,讀者可以迅速編寫出結(jié)構(gòu)完美、功能齊備的程序;其次,讀者可通過本書掌握如何改進(jìn)和擴(kuò)展這些程序,學(xué)會設(shè)計(jì)類層次、利用getter和setter實(shí)現(xiàn)數(shù)據(jù)和過程抽象、利用接口添加需求、按照模型-視圖方法進(jìn)行系統(tǒng)設(shè)計(jì)、從網(wǎng)絡(luò)查看器訪問applet、使用線程實(shí)現(xiàn)動態(tài)的applet、通過資源訪問文件、使用swing類構(gòu)造圖形用戶界面等。成功的Winston方法   ●基于廣泛的教學(xué)經(jīng)驗(yàn)   ●在內(nèi)容緊湊、以概念為中心的章節(jié)中闡述思想   ●通過短小但完備的程序展示思想   ●由淺入深、循序漸進(jìn)地逐步解開讀者的謎團(tuán)   ●強(qiáng)化良好的程序設(shè)計(jì)實(shí)踐的原則   ●通過有針對性的練習(xí)鞏固關(guān)鍵概念   ●以if-then的方式概括關(guān)鍵點(diǎn)本版新增內(nèi)容   ●將模型連接至視圖   ●開發(fā)自己的布局管理器   ●實(shí)現(xiàn)動態(tài)表   ●利用servlet收集信息   ●使用RMI調(diào)用遠(yuǎn)程方法   ●為程序分布構(gòu)造JAR文件。

作者簡介

Patrick Henry Winston  麻省理工學(xué)院人工智能和計(jì)算機(jī)科學(xué)教授,并從事人類智能的計(jì)算理論的研究。他在人工智能領(lǐng)域十分著名,著有多部思路清晰且見解獨(dú)到的專著。除本書外,他還著有《On to C》、《On to C++》、《Artificial  Intelligence》等書。

書籍目錄

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.

圖書封面

圖書標(biāo)簽Tags

評論、評分、閱讀與下載


    Java2專家導(dǎo)引 PDF格式下載


用戶評論 (總計(jì)0條)

 
 

 

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

京ICP備13047387號-7