The Java FAQ / Edition 1

The Java FAQ / Edition 1

by Jonni Kanerva
     
 

ISBN-10: 0201634562

ISBN-13: 9780201634563

Pub. Date: 07/11/1997

Publisher: Addison-Wesley

This book provides an insider's view of the Java technology by posing and answering the most important, frequently asked questions about the Java programming language, Java applets, and Java stand-alone applications. The Java FAQ is unique in that it draws from the tens of thousands of questions sent to java@java.sun.com

Overview

This book provides an insider's view of the Java technology by posing and answering the most important, frequently asked questions about the Java programming language, Java applets, and Java stand-alone applications. The Java FAQ is unique in that it draws from the tens of thousands of questions sent to java@java.sun.com and provides authoritative answers direct from the creators of the Java programming language at JavaSoft.

Presented in a handy question-and-answer format, The Java FAQ contains over 200 of the most important and informative of these questions together with concise explanations and creative solutions. The book is a powerful reference that can quickly help you over common stumbling blocks. Representing the collective wisdom of the JavaSoft team, it is an excellent resource for design tips, practical examples, style guidelines, insightful explanations, and insider information that will save you time and improve the quality of your Java programming.

The questions encompass the gamut of Java topics: objects, classes, methods, interfaces, exceptions, arrays, the virtual machine, applets, AWT components and containers, layouts, events, images, threads, sockets, and more. Well indexed and thoroughly cross-referenced, the book enables you to quickly locate precisely the information you need.

Appropriate for Java programmers of all levels, The Java FAQ includes clearly worded explanations to fundamental questions, such as:

  • What is an applet?
  • How do applets differ from applications?
  • Does the Java language allow multiple inheritance?
  • How do I create an instance of a class?

Experienced Java programmers will benefit from pointed answers to more sophisticated questions, including:

  • How can I accomplish the equivalent of function pointers in Java, for instance, for use in an array?
  • How can I arrange for different applets on a web page to communicate with each other?
  • Do events propagate in the JDK 1.1 as they did in the older AWT event model?
  • How do the wait and notifyAll/notify methods enable cooperation between threads?
  • When will I be able to create a broadcast datagram packet?

0201634562B04062001

Product Details

ISBN-13:
9780201634563
Publisher:
Addison-Wesley
Publication date:
07/11/1997
Series:
Java Series
Pages:
336
Product dimensions:
7.50(w) x 9.20(h) x 0.80(d)

Table of Contents

Preface.

1. Classes, Interfaces, and Packages.

Objects, Classes, and Methods.

Subclassing, Overloading, and Overriding.

Interfaces and Abstract Classes.

Packages and Access Modifiers.

2. Java Language.

Constants and Expressions.

Variables and Methods.

Arrays.

Exceptions.

3. Virtual Machine.

4. Applets.

Applets versus Applications.

Installing Applets.

Applet User Interface.

Applet Program Structure.

Applet Communication.

Miscellaneous.

5. Abstract Window Toolkit.

Components, Containers, and Peers.

Windows, Frames, and Dialogs.

Miscellaneous.

6. Events-JDK 1.0.2.

7. Events-JDK 1.1.

Event Classes, Listeners, and Methods.

Semantic Events.

Low-level Events.

8. Drawing.

Drawing AWT Components.

Loading and Drawing Images.

Images-JDK 1.0.2.

Images-JDK 1.1.

9. Threads.

Creating and Controlling Threads.

Thread Interactions.

User Threads versus System Threads.

10. Input, Output, and Network.

Basic Input and Output.

URL Connections.

Internet Addresses.

Sockets.

11 Miscellaneous.

Classes in java.lang and java.util.

Audio.

Miscellaneous.

Index. 0201634562T04062001

Customer Reviews

Average Review:

Write a Review

and post it to your social network

     

Most Helpful Customer Reviews

See all customer reviews >