Buying Options
Java in a Nutshell, Fifth Edition
Print $44.95
Add to Cart
Print+Ebook $49.45
Add to Cart
Ebook $35.99
(PDF)
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £34.50
Add to Cart
What is this?

Product Editions

  1. Java in a Nutshell, Fifth Edition - March 2005
  2. Java In a Nutshell, Fourth Edition - March 2002
  3. Java in a Nutshell, Third Edition - December 1999 (out of print)
  4. Java in a Nutshell, Deluxe Edition - June 1997 (out of print)
  5. Java in a Nutshell, Second Edition - May 1997 (out of print)
  6. Java in a Nutshell - March 1996 (out of print)
Description
Java in a Nutshell, 5th Edition, covers all the extensive changes implicit in 5.0, the latest and greatest version of Java yet. This classic remake has also undergone a complete editorial makeover in order to more closely meet the needs of the modern Java programmer. Among the improvements: more discussion on tools and frameworks, and new code examples to illustrate the working of APIs.
Full Description
Table of Contents
  1. Introducing Java

    1. Chapter 1 Introduction

      1. What Is Java?
      2. Key Benefits of Java
      3. An Example Program
    2. Chapter 2 Java Syntax from the Ground Up

      1. Java Programs from the Top Down
      2. Lexical Structure
      3. Primitive Data Types
      4. Expressions and Operators
      5. Statements
      6. Methods
      7. Classes and Objects Introduced
      8. Arrays
      9. Reference Types
      10. Packages and the Java Namespace
      11. Java File Structure
      12. Defining and Running Java Programs
      13. Differences Between C and Java
    3. Chapter 3 Object-Oriented Programming in Java

      1. Class Definition Syntax
      2. Fields and Methods
      3. Creating and Initializing Objects
      4. Destroying and Finalizing Objects
      5. Subclasses and Inheritance
      6. Data Hiding and Encapsulation
      7. Abstract Classes and Methods
      8. Important Methods of java.lang.Object
      9. Interfaces
      10. Nested Types
      11. Modifier Summary
      12. C++ Features Not Found in Java
    4. Chapter 4 Java 5.0 Language Features

      1. Generic Types
      2. Enumerated Types
      3. Annotations
    5. Chapter 5 The Java Platform

      1. Java Platform Overview
      2. Text
      3. Numbers and Math
      4. Dates and Times
      5. Arrays
      6. Collections
      7. Threads and Concurrency
      8. Files and Directories
      9. Input/Output with java.io
      10. Networking with java.net
      11. I/O and Networking with java.nio
      12. XML
      13. Types, Reflection, and Dynamic Loading
      14. Object Persistence
      15. Security
      16. Cryptography
      17. Miscellaneous Platform Features
    6. Chapter 6 Java Security

      1. Security Risks
      2. Java VM Security and Class File Verification
      3. Authentication and Cryptography
      4. Access Control
      5. Security for Everyone
      6. Permission Classes
    7. Chapter 7 Programming and Documentation Conventions

      1. Naming and Capitalization Conventions
      2. Portability Conventions and Pure Java Rules
      3. Java Documentation Comments
      4. JavaBeans Conventions
    8. Chapter 8 Java Development Tools

  2. API Quick Reference

    1. Chapter 9 java.io

    2. Chapter 10 java.lang and Subpackages

    3. Chapter 11 java.math

    4. Chapter 12 java.net

    5. Chapter 13 java.nio and Subpackages

    6. Chapter 14 java.security and Subpackages

    7. Chapter 15 java.text

    8. Chapter 16 java.util and Subpackages

    9. Chapter 17 javax.crypto and Subpackages

    10. Chapter 18 javax.net and javax.net.ssl

    11. Chapter 19 javax.security.auth and Subpackages

    12. Chapter 20 javax.xml and Subpackages

    13. Chapter 21 org.w3c.dom

    14. Chapter 22 org.xml.sax and Subpackages

    15. Chapter 23 Class, Method, and Field Index

      1. A
      2. B
      3. C
      4. D
      5. E
      6. F
      7. G
      8. H
      9. I
      10. J
      11. K
      12. L
      13. M
      14. N
      15. O
      16. P
      17. Q
      18. R
      19. S
      20. T
      21. U
      22. V
      23. W
      24. X
      25. Y
      26. Z
  1. Colophon

View Full Table of Contents
Product Details
Title:
Java in a Nutshell, Fifth Edition
By:
David Flanagan
Publisher:
O'Reilly Media
Formats:
  • Print
  • Ebook
  • Safari Books Online
Print Release:
March 2005
Ebook Release:
June 2009
Pages:
1264
Print ISBN:
978-0-596-00773-7
| ISBN 10:
0-596-00773-6
Ebook ISBN:
978-0-596-10480-1
| ISBN 10:
0-596-10480-4
Customer Reviews
About the Author
  1. David Flanagan

    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 children in the U.S. Pacific Northwest bewteen the cities of Seattle, Washington and Vancouver, British Columbia. David has a blog at www.davidflanagan.com.

    View David Flanagan's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java in a Nutshell, Fifth Edition is a Javan tiger, a subspecies unique to the island of Java. Although this tiger once offered unrivaled research opportunities due to its genetic isolation, these opportunities have been permanently lost due to human encroachment on the Javan tiger's habitat: in a worst-case scenario for the tiger, Java developed into the most densely populated island on earth, and awareness of the subspecies' precarious position came too late to secure the animals' survival even in captivity. The last known sighting of the tiger was in 1972, and it is now presumed extinct. Jamie Peppard was the production editor and proofreader for Java in a Nutshell, Fifth Edition. Sarah Sherman, Darren Kelly, and Claire Cloutier provided quality control. Ellen Troutman Zaig wrote the index.

Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.

David Futato designed the interior layout. This book was converted by Andrew Savikas, Joe Wizda, and Ryan Grimm to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe PhotoShop 6. Jamie Peppard wrote this colophon.

  • Book cover of Java in a Nutshell