The Java Programming Language, 3/e
Ken Arnold, James Gosling, David Holmes
- 出版商: Addison Wesley
- 出版日期: 2000-06-05
- 售價: $1,840
- 貴賓價: 9.5 折 $1,748
- 語言: 英文
- 頁數: 704
- 裝訂: Paperback
- ISBN: 0201704331
- ISBN-13: 9780201704334
-
相關分類:
Java 程式語言
已過版
買這商品的人也買了...
-
$1,029Fundamentals of Data Structures in C++
-
$1,029Fundamentals of Data Structures in C
-
$580$458 -
$2,610$2,480 -
$680$578 -
$980$774 -
$970Introduction to Algorithms, 2/e
-
$880$695 -
$1,078Computing Concepts With Java Essentials, 3/e
-
$1,029Operating System Concepts, 6/e (Windows XP Update)
-
$1,890$1,796 -
$780$741 -
$760$600 -
$760$600 -
$590$466 -
$690$538 -
$780$663 -
$720$569 -
$750$675 -
$490$382 -
$560$504 -
$2,340$2,223 -
$480$379 -
$750$593 -
$650$507
相關主題
商品描述
Description
This is the definitive Java book written by the inventors of the language. Thoroughly revised from start to finish, this new edition describes the newest version of the Java programming language, version 1.3 of the Java 2 platform Standard Edition. More than just API updates, this third edition has been restructured to give more in-depth treatment of the newer language features, as well as informative examples on using the new core classes like the collections and internationalization packages.
Direct from the creators of the Java™ programming language, this Third Edition provides unique insights into why and how the language was designed and intended to be used. More advanced students will find this new edition to be a valuable reference, and will gain new insights into the subtleties of the language. Beginning and intermediate students will benefit from the valuable examples and clear explanations of language and library features.
Java--Intermediate Programming.
Table Of Contents
1. A Quick Tour.Variables.
Comments in Code.
Named Constants.
Unicode Characters.
Flow of Control.
Classes and Objects.
Static or Class Fields.
The Garbage Collector.
Methods and Parameters.
The this Reference.
Static or Class Methods.
Arrays.
String Objects.
Extending a Class.
The Object Class.
Type Casting.
Interfaces.
Exceptions.
Packages.
The Java Platform.
Other Topics Briefly Noted.
2. Classes and Objects.
Class Modifiers.
Fields.
Static Fields.
final Fields.
Access Control.
Creating Objects.
Construction and Initialization.
Initialization Blocks.
Static Initialization.
Methods.
Method Invocations.
Method Execution and Return.
Parameter Values.
Using Methods to Control Access.
This.
Overloading Methods.
The main Method.
Native Methods.
3. Extending Classes.
Constructors in Extended Classes.
Inheriting and Redefining Members.
Hiding Fields.
Accessing Inherited Members.
Accessibility and Overriding.
Hiding Static Members.
The super Keyword.
Type Compatibility and Conversion.
Explicit Type Casting.
Testing for Type.
What protected Really Means.
Marking Methods and Classes final.
Abstract Classes and Methods.
The Object Class.
Cloning Objects.
Correct Cloning.
Shallow versus Deep Cloning.
Extending Classes: How and When.
Designing a Class to Be Extended.
Single Inheritance versus Multiple Inheritance.
4. Interfaces.
Interface Declarations.
Interface Methods.
Interface Modifiers.
Extending Interfaces.
Inheriting, Overriding, and Overloading Methods.
Working with Interfaces.
Using an Implementation.
Marker Interfaces.
When to Use Interfaces.
5. Nested Classes and Interfaces.
Nested Interfaces.
Inner Classes.
Extending Inner Classes.
Inheritance, Scoping, and Hiding.
Local Inner Classes.
Anonymous Inner Classes.
Inheriting Nested Types.
Nesting in Interfaces.
Implementation of Nested Types.
6. Tokens, Operators, and Expressions.
Comments.
Tokens.
Identifiers.
Keywords.
Types and Literals.
Boolean Literals.
Character Literals.
Integer Literals.
Floating*Point Literals.
String Literals.
Class Literals.
Variables.
Parameter Variables.
final Variables.
Array Variables.
Arrays of Arrays.
Array Initialization.
Arrays and Types.
The Meanings of Names.
Arithmetic Operations.
Floating*Point Arithmetic.
Strict and non*Strict Floating*Point Arithmetic.
General Operators.
Relational and Equality Operators.
Logical Operators.
instanceof.
Bit Manipulation Operators.
The Conditional Operator ?:.
Assignment Operators.
String Concatenation Operator.
new.
Expressions.
Expression Type.
Implicit Type Conversions.
Explicit Type Casts.
String Conversions.
Member Access.
Operator Precedence and Associativity.
7. Control Flow.
if-else.
switch.
while and do-while.
for.
Labels.
break.
continue.
return.
What, No goto?
8. Exceptions.
throw.
Asynchronous Exceptions.
The throws Clause.
throws Clauses and Native Methods.
try, catch, and finally.
When to Use Exceptions.
9. Strings.
String Comparisons.
Utility Methods.
Making Related Strings.
String Conversions.
Strings and char Arrays.
Strings and byte Arrays.
The StringBuffer Class.
Getting Data Out.
Capacity Management.
10. Threads.
Using Runnable.
Synchronization.
Static Synchronized Methods.
synchronized Statements.
Synchronization Designs.
wait, notifyAll, and notify.
Details of Waiting and Notification.
Thread Scheduling.
Deadlocks.
Ending Thread Execution.
Waiting for a Thread to Complete.
Ending Application Execution.
volatile.
Thread Management, Security and ThreadGroup.
Threads and Exceptions.
ThreadLocal Variables.
Debugging Threads.
11. Programming with Types.
Boolean.
Character.
Number.
The Integer Wrappers.
The Floating*Point Wrapper Classes.
Reflection.
Naming Classes.
Examining Class Members.
The Modifier Class.
The Field Class.
The Method Class.
Creating New Objects and the Constructor Class.
Access Checking and AccessibleObject.
Arrays.
Packages.
The Proxy Class.
Loading Classes.
Preparing a Class for use.
Loading Related Resources.
12. Garbage Collection and Memory.
A Simple Model.
Finalization.
Interacting with the Garbage Collector.
Reachability States and Reference Objects.
Strengths of Reference and Reachability.
Reference Queues.
13. Packages.
Type Imports.
Package Access.
Package Contents.
Package Objects and Specifications.
14. Documentation Comments.
Tags.
{@link}.
@param.
@return.
@throws and @exception.
@deprecated.
@author.
@version.
@since.
{@docRoot}.
An Example.
External Conventions.
The doc*files Directory.
Notes on Usage.
15. The I/O Package.
OutputStream.
Character Streams.
Writer.
Character Streams and the Standard Streams.
InputStreamReader and OutputStreamWriter.
A Quick Tour of The Stream Classes.
Filter Streams.
Buffered Streams.
Piped Streams.
ByteArray Byte Streams.
CharArray Character Streams.
String Character Streams.
Print Streams.
LineNumberReader.
SequenceInputStream.
Pushback Streams.
StreamTokenizer.
The Data Byte Streams.
The Data Stream Classes.
Working with Files.
RandomAccessFile.
The File Class.
FilenameFilter and FileFilter.
Object Serialization.
Making Your Classes Serializable.
Serialization and Deserialization Order.
Customized Serialization.
Object Versioning.
Serialized Fields.
The Externalizable Interface.
Documentation Comment Tags.
The IOException Classes.
16. Collections.
Iteration.
Ordering using Comparable and Comparator.
The Collection Interface.
Set and SortedSet.
TreeSet.
List.
LinkedList.
Map and SortedMap.
TreeMap.
WeakHashMap.
Wrapped Collections and the Collections Class.
The Unmodifiable Wrappers.
The Collections Utilities.
The Arrays Utility Class.
Writing Iterator Implementations.
Writing Collection Implementations.
The Legacy Collection Types.
Vector.
Stack.
Dictionary.
Hashtable.
Properties.
17. Miscellaneous Utilities.
Observer/Observable.
Random.
StringTokenizer.
Timer and TimerTask.
Math and StrictMath.
18. System Programming.
System Properties.
Utility Methods.
Creating Processes.
Process Environments.
Portability.
Shutdown.
The Shutdown Sequence.
Shutdown Strategies.
The Rest of the Runtime.
Debugging.
Security.
Permissions.
Security Policies.
Access Controllers and Privileged Execution.
19. Internationalization and Localization.
Resource Bundles.
PropertyResourceBundle.
Subclassing ResourceBundle.
Time, Dates, and Calendars.
Time Zones.
GregorianCalendar and SimpleTimeZone.
Formatting and Parsing Dates and Times.
Internationalization and Localization for Text.
Formatting and Parsing.
Text Boundaries.
20. Standard Packages.
java.applet---Applets.
java.beans---Components.
java.math---Mathematics.
java.net---The Network.
java.rmi---Remote Method Invocation.
java.security --- Security Tools.
java.sql --- Relational Database Access.
Utility Subpackages.
ZIP Files---java.util.zip.
javax.*---Standard Extensions.
javax.accessibility --- Accessibility for GUIs.
javax.naming---Directory and Naming Services.
javax.sound---Sound Manipulation.
javax.swing --- Swing GUI Components.
org.omg.CORBA --- CORBA APIs.
Appendix A. Runtime Exceptions.
Error Classes.
Appendix B Useful Tables.
Table 2: Operator Precedence.
Table 3: Unicode Digits.
Table 4: Unicode Letters and Digits.
Table 5: Special Characters Using \.
Table 6: Documentation Comment Tags.
Table 7: Unicode Character Blocks.
Further Reading.
Index. 0201704331T04062001