|

Addison-Wesley / Prentice Hall

Computer Science

My Instructor Resource Center :  Log in or request access

Java From the Beginning
J. Skansholm<DIV></DIV>

ISBN-10: 0201398125
ISBN-13:  9780201398120

Publisher:  Addison-Wesley
Copyright:  2000
Format:  Paper; 560 pp
Published:  12/22/1999
Status: Out of Print


We're sorry, this product is no longer available.
Please contact your Pearson rep if you are using this product and need instructor resources.

This book teaches the key characteristics and functions of the Java programming language to students who have some familiarity with computer concepts such as windows, menus, web pages, and the Internet. It begins by giving a history of the language and reviews program compiling and the operation of programs, before moving on to discuss classes, objects, and methods in greater detail in Chapter 2. Java from the Beginning defines and uses the Java Class Libraries to create objects with which programs are constructed, and demonstrates the different program constructions–expressions and sentences, for example–included in basic Java programs. By using Java and its programming techniques, graphics and communication programs can be introduced early and dealt with in great detail in this book, something that gets too complicated and lost in more traditional programming texts.

  • Requires no previous programming experience, and focuses on building programming skills by example. Pg.___
  • Object-oriented programming and design are integrated throughout. Pg.___
  • Offers examples of many different kinds of graphics components during its presentation of graphical user interfaces (GUIs). Pg.___
  • Provides a complete discussion of inheritance mechanisms, covering such concepts as dynamic binding, polymorphism, abstract classes, and interfacing. Pg.___
  • Dedicates entire chapters to the following Java topics: exception handling, active objects and threads, events handling, streams and files, and communication. Pg.___



1. Getting Started.

What is Java.

Where to Find Information About Java.

Traditional Compilation, Linking and Execution.

Compiling and Executing Java Programs.

The First Program.

The Simple GUI Programs

Applets.

Graphics.

Packages

Exercises.



2. Classes and Objects.

Object-Orientation.

Class Definitions.

Variables.

Methods.

Encapsulation and Visibility.

Object Initializations

Overloaded Methods.

The Standard Class Point

Class Variables and Class Methods.

The Standard Class Math

Exercises.



3. Reading and Writing

Language Conventions and Number Formatting

Input and Output

Text Files

Exercises



4. Object-Oriented Program Development.

Object-Oriented Analysis.

Object-Oriented Design.

Object-Oriented Programming.

Algorithms.

Relations in Java.

Exercises.



5. GUI Components.

An Overview

Label.

Designing Our Own GUI Components

Panel.

TextField-Text Input.

ExtendedTextField-Inputting Numerical Data.

Text Area.

Canvas.

Button.

Checkbox.

Choice and List.

Scrollbar.

Scroll Pane.

Layout Managers.

Example-A Text Editor.

Exercises



6. Texts and Arrays.

Character Codes and Character Literals.

The Standard Class String.

Comparison of Characters and Texts.

Arrays of Simple Components.

The for-Statement.

Arrays of Reference Variables.

Arrays of Parameters.

Parameters of Main.

Parameters to Applets.

Multiple Relations.

Multidimensional Arrays.

Exercises.



7. More About Inheritance.

Definition of Subclasses.

References to Subclasses.

Hidden Instance Variables.

Polymorphism and Dynamic Binding.

Constructors in Subclasses.

The Method Finalize

Object Collections and Class Vector

Abstract Classes.

Interface.

An Object-Oriented Example

Exercises.



8. Exceptions.

Automatically Generated Exceptions

Exceptions Generated by the Programmer

Specification of Exceptions

Catching Exceptions

Exercises



9. Active Objects.

Threads

Dates and Times

An Example - Digital Clocks

Synchronization of Threads

Threads in Applets

Moving Figures

Reduction of Flicker

Exercises



10. Event-Driven Programs

Events and Listeners

Mouse

Keyboard

An Advanced Example-A Game of Tennis

Exercises



11. Windows, Dialog Boxes and Menus

The Class Window

The Class Frame

The Class Dialogue

The Class File Dialogue

Menus

An Example- A Text Editor

Exercises



12. Sounds and Images

Images in Applets

The Class URL and Images in Standalone Applications

The Images as GUI Components

Moving Images

Sounds in Applets

Sounds in Standalone Applications

Exercises



13. Streams and Files

An Overview

Streams for Imputting

Streams for Outputting

Streams With Binary Data

Direct Access Files

The Class File

Exercises



14. Communication

URL Connections

Ports and Sockets

Datagrams

Multicast

Establishing Client-Server Connections

Applets and Communication

Exercises



15. A Bit of Everything

Comments and Documentation

More Operators

More Statements

Recursion

Standard Classes for Collection

Standard Classes for Maps

Swing Components

Exercises

Jan Skansholm is a lecturer in the Computer Science Department at Chalmers University, Gothenburg, Sweden.



0201398125AB04062001

This book teaches the key characteristics and functions of the Java programming language to students who have some familiarity with computer concepts such as windows, menus, web pages, and the Internet. It begins by giving a history of the language and reviews program compiling and the operation of programs, before moving on to discuss classes, objects, and methods in greater detail in Chapter 2. Java from the Beginning defines and uses the Java Class Libraries to create objects with which programs are constructed, and demonstrates the different program constructions o expressions and sentences, for example o included in basic Java programs. By using Java and its programming techniques, graphics and communication programs can be introduced early and dealt with in great detail in this book, something that gets too complicated and lost in more traditional programming texts.

Features
  • Requires no previous programming experience, and focuses on building programming skills by example
  • Object-oriented programming and design are integrated throughout
  • Offers examples of many different kinds of graphics components during its presentation of graphical user interfaces (GUIs)
  • Provides a complete discussion of inheritance mechanisms, covering such concepts as dynamic binding, polymorphism, abstract classes, and interfacing
  • Dedicates entire chapters to the following Java topics: exception handling, active objects and threads, events handling, streams and files, and communication


0201398125B04062001

Pearson Higher Education offers special pricing when you choose to package your text with other student resources. If you're interested in creating a cost-saving package for your students contact your Pearson Higher Education representative.