On to Java / Edition 1

On to Java / Edition 1

by Patrick Henry Winston, James Rigney
     
 

ISBN-10: 020149826X

ISBN-13: 9780201498264

Pub. Date: 07/24/1996

Publisher: Addison-Wesley

Learn the exciting language of the World Wide Web

On To Java provides you with the knowledge that you need to learn the Java programming language and improve your programming practices. It is written in the clear and concise style that makes all Winston's books popular with programmers.

The knowledge you need

Each chapter responds to

Overview

Learn the exciting language of the World Wide Web

On To Java provides you with the knowledge that you need to learn the Java programming language and improve your programming practices. It is written in the clear and concise style that makes all Winston's books popular with programmers.

The knowledge you need

Each chapter responds to a question you naturally ask when you want to learn a new language: What's special about the language? How do I define a method? How do I implement a loop? How do I open a file? How do I build a graphical user interface? What are the idioms of the language? How do I program effectively?

You learn the answers from a to-the-point, slidelike presentation. First, you learn answers that enable you to write complete, functional programs immediately. Then, you learn how to improve and extend those programs as you learn to design class hierarchies, practice data and procedure abstraction with getters and setters, impose requirements using interfaces, follow the model-view approach to system design, access applets from network viewers, use threads to implement dynamic applets, access files via resources, construct graphical user interfaces using swing classes, and much, much more.

Winston's proven approach

  • Based on extensive teaching experience
  • Explains ideas in fast-paced, concept-centered unit
  • Illustrates ideas via short, yet complete programs
  • Answers your natural questions in a natural order
  • Stresses principles of good-programming practice
  • Reinforces key concepts with targeted exercises
  • Recapitulates key points as if-then rules

About the authors

Well-known author Patrick Henry Winston teaches artificial intelligence and computer science and develops computational theories of human intelligence at the Massachusetts Institute of Technology. He is the author of On To C, On To C++, and Artificial Intelligence.

Java expert Sundar Narasimhan develops complex situation assessment and resource allocation systems at Ascent Technology Inc.

Added in this edition

    New material on how to:
  • Connect models to views
  • Develop your own layout managers
  • Implement dynamic tables
  • Collect information using servlets
  • Invoke remote methods using RMI
  • Construct JAR files for program distribution

On-line version:
This book is available, in an on-line version, via

Product Details

ISBN-13:
9780201498264
Publisher:
Addison-Wesley
Publication date:
07/24/1996
Series:
Programming Languages Library Series
Edition description:
Older Edition
Pages:
300
Product dimensions:
7.44(w) x 9.26(h) x 0.56(d)

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 withCharacters 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.
Colophon.
Software.
Books.

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >