TheJava™LanguageSpecification,ThirdEdition.pdf

(6028 KB) Pobierz
The Java Language Specification, Third Edition
The Java
Language Specification
Third Edition
244051132.002.png
The Java Series
The Java Programming Language
Ken Arnold, James Gosling and David Holmes
ISBN 0-201-70433-1
The Java Language Specification Third Edition
James Gosling, Bill Joy, Guy Steele and Gilad Bracha
ISBN 0-321-24678-0
The Java Virtual Machine Specification Second Edition
Tim Lindholm and Frank Yellin
ISBN 0-201-43294-3
The Java Application Programming Interface,
Volume 1: Core Packages
James Gosling, Frank Yellin, and the Java Team
ISBN 0-201-63452-X
The Java Application Programming Interface,
Volume 2: Window Toolkit and Applets
James Gosling, Frank Yellin, and the Java Team
ISBN 0-201-63459-7
The Java Tutorial: Object-Oriented Programming for the Internet
Mary Campione and Kathy Walrath
ISBN 0-201-63454-6
The Java Class Libraries: An Annotated Reference
Patrick Chan and Rosanna Lee
ISBN 0-201-63458-9
The Java FAQ: Frequently Asked Questions
Jonni Kanerva
ISBN 0-201-63456-2
244051132.003.png
The Java
Language Specification
Third Edition
James Gosling
Bill Joy
Guy Steele
Gilad Bracha
ADDISON-WESLEY
Boston San Francisco New York Toronto Montreal
London Munich Paris Madrid
Capetown Sydney Tokyo Singapore Mexico City
244051132.004.png
iv
The Java Language Specification
244051132.005.png
Copyright
1996-2005 Sun Microsystems, Inc.
4150 Network Circle, Santa Clara, California 95054 U.S.A.
All rights reserved.
Duke logo™ designed by Joe Palrang.
RESTRICTED RIGHTS LEGEND: Use, duplication, or disclosure by the United States
Government is subject to the restrictions set forth in DFARS 252.227-7013 (c)(1)(ii) and
FAR 52.227-19.
The release described in this manual may be protected by one or more U.S. patents,
foreign patents, or pending applications.
Sun Microsystems, Inc. (SUN) hereby grants to you a fully paid, nonexclusive, nontrans-
ferable, perpetual, worldwide limited license (without the right to sublicense) under
SUN’s intellectual property rights that are essential to practice this specification. This
license allows and is limited to the creation and distribution of clean room implementa-
tions of this specification that: (i) include a complete implementation of the current ver-
sion of this specification without subsetting or supersetting; (ii) implement all the
interfaces and functionality of the required packages of the Java™ 2 Platform, Standard
Edition, as defined by SUN, without subsetting or supersetting; (iii) do not add any addi-
tional packages, classes, or interfaces to the java.* or javax.* packages or their subpack-
ages; (iv) pass all test suites relating to the most recent published version of the
specification of the Java™ 2 Platform, Standard Edition, that are available from SUN six
(6) months prior to any beta release of the clean room implementation or upgrade thereto;
(v) do not derive from SUN source code or binary materials; and (vi) do not include any
SUN source code or binary materials without an appropriate and separate license from
SUN.
Sun, Sun Microsystems, the Sun logo, Solaris, Java, JavaScript, JDK, and all Java-based
trademarks or logos are trademarks or registered trademarks of Sun Microsystems, Inc.
UNIX® is a registered trademark of The Open Group in the United States and other coun-
tries. Apple and Dylan are trademarks of Apple Computer, Inc. All other product names
mentioned herein are the trademarks of their respective owners.
THIS PUBLICATION IS PROVIDED “AS IS” WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NON-INFRINGEMENT.
THIS PUBLICATION COULD INCLUDE TECHNICAL INACCURACIES OR TYPO-
GRAPHICAL ERRORS. CHANGES ARE PERIODICALLY ADDED TO THE INFOR-
MATION HEREIN; THESE CHANGES WILL BE INCORPORATED IN NEW
EDITIONS OF THE PUBLICATION. SUN MICROSYSTEMS, INC. MAY MAKE
IMPROVEMENTS AND/OR CHANGES IN THE PRODUCT(S) AND/OR THE PRO-
GRAM(S) DESCRIBED IN THIS PUBLICATION AT ANY TIME.
Credits and permissions for quoted material appear in a separate section on page 649.
244051132.001.png
Zgłoś jeśli naruszono regulamin