O'Reilly - Java Reference Library.pdf

(37967 KB) Pobierz
Java Reference Library
Java Reference Library
The Java Reference Library, version 1.2, is copyright © 1996, 1997 by O'Reilly & Associates. All Rights Reserved.
Questions, comments, and suggestions to bookquestions@ora.com .
http://localhost/java/javaref/index.htm [20/12/2001 10:57:30]
7502404.009.png 7502404.010.png 7502404.011.png 7502404.012.png
Java in a Nutshell
By David Flanagan; 1-56592-262-X, 628 pages.
2nd Edition, May 1997
Table of Contents
Part I: Introducing Java
Part I is an introduction to Java and Java programming. If you know how to program in C or C++,
these chapters teach you everything you need to know to start programming with Java.
If you are already familiar with Java 1.0 you may want to just skip ahead to Part II, which
introduces the new features of Java 1.1.
Part II: Introducing Java 1.1
The two chapters in this part introduce the new features of Java 1.1. Chapter 4 is an overview of
the new APIs, and Chapter 5 explains the new language syntax. See Part III for some examples of
the new features.
Part III: Programming with the Java 1.1 API
Part III contains examples of programming with the new features of Java 1.1. You can study and
learn from the examples, and you should feel free to adapt them for use in your own programs. The
examples shown in these chapters may be downloaded from the Internet. See
http://www.ora.com/catalog/books/javanut2/ . Some of the chapters in this part also contain tables
and other reference material for new features in Java 1.1.
Part III of this book is "deprecated." Most of the examples from the first edition of this book do not
appear here, and Part III may disappear altogether in the next edition of the book. Unfortunately,
as Java continues to grow, there is less and less room for programming examples in this book.
However, all of the examples from the first edition are still available on the Web page listed above.
http://localhost/java/javaref/javanut/index.htm (1 of 3) [20/12/2001 10:57:32]
7502404.001.png 7502404.002.png
Java in a Nutshell
Part IV: Java Language Reference
Part IV contains reference material on the Java language and related topics. Chapter 13 contains a
number of useful summary tables of Java syntax. Chapter 14 describes the standard Java system
properties and how to use them. Chapter 15 covers the syntax of the HTML tags that allow you to
include Java applets in Web pages. Chapter 16 documents the command-line syntax for the Java
compiler, interpreter, and other tools shipped with the JDK.
Part V: API Quick Reference
Part V is the real heart of this book: quick-reference material for the Java API. Please read the
following section, How to Use This Quick Reference , to learn how to get the most out of this
material.
Examples - Warning: this directory includes long filenames which may confuse some older
operating systems (notably Windows 3.1).
Search the text of Java in a Nutshell .
http://localhost/java/javaref/javanut/index.htm (2 of 3) [20/12/2001 10:57:32]
7502404.003.png
Java in a Nutshell
Copyright © 1996, 1997 O'Reilly & Associates. All Rights Reserved.
http://localhost/java/javaref/javanut/index.htm (3 of 3) [20/12/2001 10:57:32]
7502404.004.png 7502404.005.png
Preface
Preface
Preface
This handbook is a desktop quick reference for Java programmers; it covers version 1.1 of the Java
language and API. It also includes introductory and tutorial material for C and C++ programmers who
want to learn Java. It was written to sit faithfully by your keyboard for easy reference while you program.
The wild success of the first edition has shown that this is exactly what Java programmers want, and I've
retained the "no fluff" explanations and the to-the-point reference material in this second edition. I hope
that new readers will find this book useful, and that old readers will find it even more useful than the last
one!
Contents of This Book
This book is divided into five parts:
Part I: Introducing Java
This first part of the book introduces Java and Java programming, with a particular emphasis on
helping C and C++ programmers make the transition to Java. If you are already familiar with Java
1.0 programming, you can skip the three chapters in this part.
Part II: Introducing Java 1.1
This second part of the book contains two chapters that introduce the new features of the Java 1.1
API and the new language features in Java 1.1.
Part III: Programming with the Java 1.1 API
http://localhost/java/javaref/javanut/ch00_01.htm (1 of 2) [20/12/2001 10:57:32]
7502404.006.png 7502404.007.png 7502404.008.png
Zgłoś jeśli naruszono regulamin