did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

did-you-know? rent-now

Amazon no longer offers textbook rentals. We do!

We're the #1 textbook rental company. Let us show you why.

9780262692762

Java Precisely

by
  • ISBN13:

    9780262692762

  • ISBN10:

    0262692767

  • Format: Paperback
  • Copyright: 2002-07-01
  • Publisher: Mit Pr
  • Purchase Benefits
  • Free Shipping Icon Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • eCampus.com Logo Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $16.95

Summary

Java Preciselyprovides a concise reference for the Java programming language and some of its essential libraries. The book covers Java 2, versions 1.3 and 1.4. It is intended both for students learning Java and for more experienced Java programmers. Though written informally, it describes the language in detail and provides many examples. To improve clarity, most of the general rules appear on left-hand pages with the relevant examples on the opposite right-hand pages.

Table of Contents

Preface ix
Notational Conventions ix
Running Java: Compilation, Loading, and Execution
2(1)
Names and Reserved Names
2(1)
Java Naming Conventions
2(1)
Comments and Program Layout
2(2)
Types
4(2)
Primitive Types
4(1)
Reference Types
4(1)
Array Types
4(1)
Subtypes and Compatibility
5(1)
Signatures and Subsumption
5(1)
Variables, Parameters, Fields, and Scope
6(2)
Values Bound to Variables, Parameters, or Fields
6(1)
Variable Declarations
6(1)
Scope of Variables, Parameters, and Fields
6(2)
Strings
8(2)
Arrays
10(4)
Array Creation and Access
10(1)
Array Initializers
10(2)
Multidimensional Arrays
12(1)
The Utility Class Arrays
12(2)
Classes
14(12)
Class Declarations and Class Bodies
14(1)
Top-Level Classes, Nested Classes, Member Classes, and Local Classes
14(1)
Class Modifiers
14(2)
The Class Modifiers public, final, abstract
16(1)
Subclasses, Superclasses, Class Hierarchy, Inheritance, and Overriding
16(2)
Field Declarations in Classes
18(1)
The Member Access Modifiers private, protected, public
18(2)
Method Declarations
20(2)
Constructor Declarations
22(1)
Initializer Blocks, Field Initializers, and Initializers
22(2)
Nested Classes, Member Classes, Local Classes, and Inner Classes
24(1)
Anonymous Classes
24(2)
Classes and Objects in the Computer
26(2)
What Is a Class?
26(1)
What Is an Object?
26(1)
Inner Objects
26(2)
Expressions
28(13)
Table of Expression Forms
28(2)
Arithmetic Operators
30(1)
Logical Operators
30(1)
Bitwise Operators and Shift Operators
30(2)
Assignment Expressions
32(1)
Conditional Expressions
32(1)
Object Creation Expressions
32(1)
Instance Test Expressions
32(2)
Field Access Expressions
34(1)
The Current Object Reference this
34(2)
Method Call Expressions
36(4)
Type Cast Expressions and Type Conversion
40(1)
Statements
41(11)
Expression Statements
41(1)
Block Statements
41(1)
The Empty Statements
41(1)
Choice Statements
42(2)
Loop Statements
44(2)
Returns, Labeled Statements, Exits, and Exceptions
46(4)
The assert Statement
50(2)
Interfaces
52(2)
Interface Declarations
52(1)
Classes Implementing Interfaces
52(2)
Exceptions, Checked and Unhecked
54(2)
Threads, Concurrent Execution, and Synchronization
56(6)
Threads and Concurrent Execution
56(2)
Locks and the synchronized Statement
58(2)
Operations on Threads
60(2)
Compilation, Source Files, Class Names, and Class Files
62(1)
Packages and Jar Files
62(2)
Mathematical Functions
64(2)
String Buffers
66(2)
Collections and Maps
68(14)
The Collection Interface
70(1)
The List Interface and the LinkedList and ArrayList Implementations
71(1)
The Set Interface and the HashSet and LinkedHashSet Implementations
72(1)
The SortedSet Interface and the TreeSet Implementation
72(1)
The Map Interface and the HashMap Implementation
73(1)
The SortedMap Interface and the TreeMap Implementation
74(2)
Going Through a Collection: Iterator
76(1)
Equality, Comparison, and Hash Codes
76(2)
The Utility Class Collections
78(2)
Choosing the Right Collection Class or Map Class
80(2)
Input and Output
82(24)
Creating Streams from Other Streams
83(1)
Kinds of Input and Output Methods
84(1)
Imports, Exceptions, Thread Safety
84(2)
Sequential Character Input: Readers
86(1)
Sequential Character Output: Writers
87(1)
Printing Primitive Data to a Character Stream: PrintWriter
88(2)
Reading Primitive Data from a Character Stream: StreamTokenizer
90(2)
Sequential Byte Input: InputStream
92(1)
Sequential Byte Output: OutputStream
93(1)
Binary Input-Output of Primitive Data: DataInput and DataOutput
94(2)
Serialization of Objects: ObjectInput and ObjectOutput
96(2)
Buffered Input and Output
98(2)
Random Access Files: RandomAccessFile
100(2)
Files, Directories, and File Descriptors
102(1)
Thread Communication: PipedInputStream and PipedOutputStream
102(2)
Socket Communication
104(2)
References 106(1)
Index 107

Supplemental Materials

What is included with this book?

The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.

The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.

Rewards Program