[Book Cover]

Java: An Introduction to Computer Science and Programming, 1/e

Walter Savitch, University of California, San Diego

Published December, 1998 by Prentice Hall Engineering/Science/Mathematics

Copyright 1999, 726 pp.
Paper
ISBN 0-13-287426-1


Sign up for future
mailings
on this subject.

See other books about:
    Java--Intro to Programming/CS1-Computer Science

    Java/Visual J++-Computer Information Systems

    Java - Programming-General Engineering


Author Home Pa


Sample Chap


"V"

[Companion Website]


Summary

For Introductory Computer Science Programming courses using Java (CSI with Java). Best-selling author, Walter Savitch, uses a conversational style to teach programmers problem solving and programming techniques with Java. Readers are introduced to object-oriented programming and important computer science concepts such as top-down design, debugging, style, and abstract data types. The Java coverage is a concise, accessible introduction that covers key language features. Thorough early coverage of objects is included, with an emphasis on applications over applets. Prof. Savitch includes a highly flexible format that allows instructors and readers to adapt coverage of topics to their order of preference. This text assumes no previous programming experience.

Features


Numerous programming examples and programming exercises.

  • Illustrate problem solving concepts.
Complete explanations of Java language features—With sample code and entire programs.
Summary Boxes—Summarizes key Java features and problem-solving techniques.
  • Provides quick review of chapter material.
Programming Tips and Gotcha sections—Provides suggestions for good programming practices, and identifies common programming problems and pitfalls.
Use of the AWT to teach how to design portable GUIs and produce professional windowing interfaces.
  • Helps students learn event driven programming and object-oriented programming.
The Java material tested using Sun Microsystem's Java JDK version 1.1—Consistent with changes scheduled for version 1.2.
Self-Test Questions with answers—Follows important topics.
  • Helps students check their level of understanding.
Engaging Case Studies.
  • Exposes students to real-life applications.
CD-ROM—Includes all the programs and classes, and a student version of CodeWarrior, and integrated development environment for Windows 95/NT and Macintosh.
A Companion Website—Includes an online student study guide and program code.


Table of Contents
(NOTE: Most chapters end with Self-Test Questions, Chapter Summary, Answers to Self-Test Questions and Programming Exercises).
    1. Introduction and a Taste of Java 1.

      Computer Basics. Designing Programs. A Taste of Java.

    2. Primitive Types and Strings.

      Primitive Types, Assignment, and Expressions. The Class String. Documentation and Style. Keyboard and Screen I/O.

    3. Flow of Control.

      Branching Statements. Java Loop Statements. Programming with Loops. The Type boolean.

    4. Classes, Objects, and Methods.

      Class and Method Definitions. Information Hiding and Encapsulation. Objects and Reference.

    5. Programming with Classes and Methods.

      Programming with Methods. Polymorphism. Constructors. Information Hiding Revisited. Packages (Optional).

    6. Inheritance.

      Inheritance Basics. Programming with Inheritance.

    7. Event-Driven Programming Using the AWT.

      Some Background. Simple Window Interfaces. Components, Containers, and Layout Managers. Panels and Text Components. Adding Menus. Inner Classes (Optional).

    8. Exception Handling.

      Basic Exception Handling. Defining and Using Exception Classes.

    9. Streams and File I/O.

      Streams and Simple File I/O. Exception Handling with File I/O. More Classes for File I/O. Text File I/O.

    10. Arrays.

      Array Basics. Arrays in Classes and Methods. Programming with Arrays and Classes. Sorting Arrays.

    11. Multidimensional Arrays and Vectors.

      Multidimensional Arrays. Vectors.

    12. Recursion.

      The Basics of Recursion. Programming with Recursion.

    13. Applets and HTML.

      HTML. Applets.

    Appendix 1: Reserved Words.
    Appendix 2: SavitchIn.
    Appendix 3: ASCII Character Set.
    Appendix 4: javadoc.
    Appendix 5: Beyond Public and Private.
    Appendix 6: Cloning.
    Index.


[Help]

© Prentice-Hall, Inc. A Simon & Schuster Company
Comments To webmaster@prenhall.com