On to Java, 3/e
Patrick Henry Winston, Sundar Narasimhan
- 出版商: Pearson
- 出版日期: 2001-06-11
- 定價: $750
- 售價: $750
- 貴賓價: 9.8 折 $735
- 語言: 英文
- 頁數: 464
- 裝訂: Paperback
- ISBN: 0201725932
- ISBN-13: 9780201725933
On to Java, Third Edition offers a clear and concise introduction to the Java programming language. In this third edition, the authors increase coverage of advanced material, explaining how to ensure good programming practice using interfaces, build complex systems using the model-view approach to system design, add sophistication to graphical interfaces with complex tables, define new layout managers for special situations, increase program flexibility using factories, package applications into JAR files, enable program interaction via remote method invocation and create network services using servlets.
Written in the same style as the C, C++, and Smalltalk books of the On to series, this carefully designed tutorial is ideal for programmers who need to learn the Java language. To illuminate the key concepts of Java, the authors add various capabilities to a short, yet representative Java program, which demonstrates how Java is used for building both stand-alone programs and Web applets.
Table of Contents
How this Book Teaches you the Java Programming Language.
How To Compile and Run a Simple Program.
How To Declare Variables.
How To Write Arithmetic Expressions.
How To Define Simple Methods.
How To Understand Variable Scope and Extent.
How To Benefit from Procedure Abstraction.
How To Declare Class Variables.
How To Create Class Instances.
How To Define Instance Methods.
How To Define Constructors.
How To Define Getter and Setter Methods.
How To Benefit from Data Abstraction.
How To Define Classes that Inherit Instance Variables and Methods.
How To Enforce Abstraction Using Protected and Private Variables and Methods.
How To Write Constructors that Call other Constructors.
How To Write Methods that Call other Methods.
How To Design Classes and Class Heirarchies.
How To Enforce Requirements Using Abstract Classes and Abstract Methods.
How To Enforce Requirements and to Document Programs Using Interfaces.
How To Perform Tests Using Predicates.
How To Write Conditional Statements.
How To Combine Boolean Expressions.
How To Write Iteration Statements.
How To Write Recursive Methods.
How To Write Multiway Conditional Statements.
How To Work with File Input Streams.
How To Create and Access Arrays.
How To Move Arrays into and out of Methods.
How To Store Data in Expandable Vectors.
How To Work with Characters and Strings.
How To Catch Exceptions.
How To Work with Output File Streams.
How To Write and Read Values Using the Serializable Interface.
How To Modularize Programs using Compilation Units and Packages.
How To Combine Private Variables and Methods with Packages.
How To Create Windows and to Activate Listeners.
How To Define Inner Classes and to Structure Applications.
How To Draw Lines in Windows.
How To Write Text in Windows.
How To Use the Model - View Approach to GUI Design.
How To Define Standalone Observers and Listeners..
How To Define Applets.
How To Access Applets from Web Browsers.
How To Use Resource Locators.
How To Use Choice Lists To Select Instances.
How To Bring Images into Applets.
How To Use Threads To Implement Dynamic Applets.
How To Create Forms and to Fire Your Own Events.
How To Display Menus and File Dialog Windows.
How To Develop Your Own Layout Manager.
How To Implement Dynamic Tables.
How To Activate Remote Computations.
How To Collect Information Using Servlets.
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.