Java in a Nutshell: A Desktop Quick Reference

by
Edition: 4th
Format: Paperback
Pub. Date: 2002-04-01
Publisher(s): Oreilly & Associates Inc
  • Free Shipping Icon

    Free Shipping On All Orders!*

    Free economy shipping applies to all orders shipped to residential addresses. Orders shipped to campus receive free standard shipping. Free shipping offers do not apply to Marketplace items.

List Price: $39.95

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

This bestselling book is an essential quick reference for all Java programmers. It contains an accelerated introduction to the Java language and its key APIs, so seasoned programmers can start writing Java code right away. This book also includes O'Reilly's trusted quick-reference material for all the classes in the essential Java packages, including java.lang, java.io, java.beans, java.math, java.net, java.text, and java.util. This reference covers many the new classes in Java 1.4, including the NIO, logging, and XML functionality. Once you've learned Java, you'll keep this book next to your keyboard for handy reference while you program. This book is part of the multi-volume set of quick references that every Java programmer will want. It is an essential companion to Java Foundation Classes in a Nutshell, which covers the graphics, printing, and GUI APIs in the Java 2 platform, including Swing, AWT, and Java 2D. A third volume, Java Enterprise in a Nutshell, focuses on the Java Enterprise APIs and is of interest to programmers working on server-side or enterprise Java applications. A fourth volume, J2ME in a Nutshell, covers the new Java 2 Micro Edition APIs and explores its use in limited-resource devices. Book jacket.

Author Biography

David Flanagan is a computer programmer who spends most of his time writing about JavaScript and Java. His books with O'Reilly include Java in a Nutshell, Java Examples in a Nutshell, Java Foundation Classes in a Nutshell, JavaScript: The Definitive Guide, and JavaScript Pocket Reference. David has a degree in computer science and engineering from the Massachusetts Institute of Technology. He lives with his wife and son in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a simple website at http://www.davidflanagan.com.

Table of Contents

Preface xiii
Part I: Introducing Java
Introduction
3(16)
What Is Java?
3(3)
Key Benefits of Java
6(3)
An Example Program
9(10)
Java Syntax from the Ground Up
19(69)
The Unicode Character Set
20(1)
Comments
20(1)
Identifiers and Researved Words
21(1)
Primitive Data Types
22(7)
Expressions and Operators
29(14)
Statements
43(21)
Methods
64(2)
Classes and Objects
66(3)
Array Types
69(5)
Reference Types
74(7)
Packages and the Java Namespace
81(2)
Java File Structure
83(1)
Defining and Running Java Programs
84(1)
Differences Between C and Java
85(3)
Object-Oriented Programming in Java
88(54)
The Members of a Class
88(6)
Creating and Initializing Objects
94(4)
Destroying and Finalizing Objects
98(3)
Subclasses and Inheritance
101(9)
Data Hiding and Encapsulation
110(5)
Abstract Classes and Methods
115(2)
Interfaces
117(5)
Inner Class Overview
122(2)
Static Member Classes
124(1)
Member Classes
125(4)
Local Classes
129(4)
Anonymous Classes
133(3)
How Inner Classes Work
136(2)
Modifier Summary
138(2)
C++ Features Not Found in Java
140(2)
The Java Platform
142(60)
Java Platform Overview
142(3)
Strings and Characters
145(6)
Numbers and Math
151(3)
Dates and Times
154(1)
Arrays
155(1)
Collections
156(2)
Types, Reflection, and Dynamic Loading
158(2)
Threads
160(5)
Files and Directories
165(1)
Input and Output Streams
166(5)
Networking
171(5)
Properties and Preferences
176(2)
Logging
178(1)
The New I/O API
179(12)
XML
191(5)
Processes
196(1)
Security
196(3)
Cryptography
199(3)
Java Security
202(9)
Security Risks
202(1)
Java VM Security and Class File Verification
203(1)
Authentication and Cryptography
204(1)
Access Control
204(3)
Security for Everyone
207(2)
Permission Classes
209(2)
JavaBeans
211(11)
Bean Basics
212(2)
JavaBeans Conventions
214(7)
Bean Contexts and Services
221(1)
Java Programming and Documentation Conventions
222(12)
Naming and Capitalization Conventions
222(1)
Portability Conventions and Pure Java Rules
223(2)
Java Documentation Comments
225(9)
Java Development Tools
234(48)
appletviewer
234(4)
extcheck
238(1)
jar
238(3)
jarsigner
241(1)
java
242(6)
javac
248(3)
javadoc
251(6)
javah
257(2)
javap
259(1)
jdb
260(5)
keytool
265(3)
native2ascii
268(1)
policytool
269(1)
serialver
270(3)
Part II: API Quick Reference
How to Use This Quick Reference
273(9)
Finding a Quick-Reference Entry
273(1)
Reading a Quick-Reference Entry
274(8)
java.beans and java.beans.beancontext
282(41)
java.io
323(51)
java.lang,java.lang.ref, and java.lang.reflect
374(70)
java.math
444(4)
java.net
448(33)
java.nio and Subpackages
481(52)
java.security and Subpackages
533(76)
java.text
609(26)
java.util and Subpackages
635(103)
javax.crypto and Subpackages
738(24)
javax.net and javax.net.ssl
762(20)
javax.security.auth and Subpackages
782(23)
javax.xml.parsers,java.xml.transform, and Subpackages
805(21)
org.ietf.jgss
826(7)
org.w3c.dom
833(15)
org.xml.sax, org.xml.sax.ext, and org.xml.sax.helpers
848(23)
Class, Method, and Field Index
871(48)
Index 919

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.