• Complain

David Flanagan - Java In A Nutshell, 5th Edition

Here you can read online David Flanagan - Java In A Nutshell, 5th Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2005, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Java In A Nutshell, 5th Edition
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2005
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Java In A Nutshell, 5th Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Java In A Nutshell, 5th Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

With more than 700,000 copies sold to date, Java in a Nutshell from OReilly is clearly the favorite resource amongst the legion of developers and programmers using Java technology. And now, with the release of the 5.0 version of Java, OReilly has given the book that defined the in a Nutshell category another impressive tune-up.

In this latest revision, readers will find Java in a Nutshell, 5th Edition, does more than just cover the extensive changes implicit in 5.0, the newest version of Java. Its undergone a complete makeover--in scope, size, and type of coverage--in order to more closely meet the needs of the modern Java programmer.

To wit, Java in a Nutshell, 5th Edition now places less emphasis on coming to Java from C and C++, and adds more discussion on tools and frameworks. It also offers new code examples to illustrate the working of APIs, and, of course, extensive coverage of Java 5.0. But faithful readers take comfort: it still hasnt lost any of its core elements that made it such a classic to begin with.

This handy reference gets right to the heart of the program with an accelerated introduction to the Java programming language and its key APIs--ideal for developers wishing to start writing code right away. And, as was the case in previous editions, Java in a Nutshell, 5th Edition is once again chock-full of poignant tips, techniques, examples, and practical advice. For as long as Java has existed, Java in a Nutshell has helped developers maximize the capabilities of the programs newest versions. And this latest edition is no different.

David Flanagan: author's other books


Who wrote Java In A Nutshell, 5th Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

Java In A Nutshell, 5th Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Java In A Nutshell, 5th Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Java in a Nutshell, 5th Edition
David Flanagan
Editor
Mike Loukides
Editor
Deb Cameron

Copyright 2009 O'Reilly Media, Inc.

OReilly Media Dedication This book is dedicated to allwho teach peace and - photo 1

O'Reilly Media

Dedication

This book is dedicated to allwho teach peace and resist violence.

A Note Regarding Supplemental Files

Supplemental files and examples for this book can be found at http://examples.oreilly.com/9780596007737/. Please use a standard desktop web browser to access these files, as they may not be accessible from all ereader devices.

All code files or examples referenced in the book will be available online. For physical books that ship with an accompanying disc, whenever possible, weve posted all CD/DVD content. Note that while we provide as much of the media content as we are able via free download, we are sometimes limited by licensing restrictions. Please direct any questions or concerns to .

Preface

This book is a desktop Java quick reference,designed to sit faithfully by your keyboard while you program. Part Iof the book is a fast-paced,"no-fluff" introduction to the Javaprogramming language and the core APIs of the Java platform. Part IIis a quick reference section that succinctly details most classes andinterfaces of those core APIs. The book covers Java 1.0, 1.1, 1.2,1.3, 1.4, and 5.0.

Changes in the Fifth Edition

The fifth edition of this book covers Java 5.0. As its incrementedversion number attests, this new version of Java has a lot of newfeatures. The three most significant new language features aregeneric types, enumerated types, and annotations, which are coveredin a new chapter of their own. Experienced Java programmers who justwant to learn about these new features can jump straight to .

Other new language features of Java 5.0 are:

  • The for/in statement for easily iteratingthrough arrays and collections (this statement is sometimes called"foreach").

  • Autoboxing and autounboxingconversions to automatically convert back and forth between primitivevalues and their corresponding wrapper objects (such asint values and Integer objects)as needed.

  • Varargs methods to define and invoke methodsthat accept an arbitrary number of arguments.

  • Covariantreturns to allow a subclass to override a superclass method andnarrow the return type of the method.

  • The import static declaration to import thestatic members of a type into the namespace.

Although each of these features is new in Java 5.0, none of them islarge enough to merit a chapter of its own. Coverage of thesefeatures is integrated into .

In addition to these language changes, Java 5.0 also includes changes to theJava platform. Important enhancements include the following:

  • The java.util .

  • The java.util .The java.util.Formatter entry in the quickreference includes a detailed table of formatting options.

  • The new packagejava.util.concurrent provides examples.

  • java.lang has three new subpackages:

  • java.lang.annotation

  • java.lang.instrument

  • java.lang.management

  • These packages support Java 5.0.

  • .

In a mostly futile attempt to make room for this new material,I've had to make some cuts. I'veremoved coverage of the packages java.beans,java.beans.beancontext,java.security.acl, andorg.ietf.jgss from the quick reference.JavaBeansstandards have not caught on in core Java APIs and now appear to berelevant only for Swing and related graphical APIs. As such, they areno longer relevant in this book. Thejava.security.acl package has been deprecatedsince Java 1.2 and I've taken this opportunity toremove it. And the org.ietf.jgss package is ofinterest to only a very narrow subset of readers.

Along with removing coverage of java.beans fromthe quick reference section, I've also cut thechapter on JavaBeans from Part I of this book. The material onJavaBeans naming conventions from that chapter remains useful,however, and has been moved into .

Contents of This Book

The first eight chapters of this book document the Java language, theJava platform, and the Java development tools that are supplied withSun's Java Development Kit (JDK). The first fivechapters are essential; the next three cover topics of interest tosome, but not all, Java programmers.

Chapter 1: Introduction

This chapter is an overview of the Java language and the Javaplatform that explains the important features and benefits of Java.It concludes with an example Java program and walks the new Javaprogrammer through it line by line.

Chapter 2: Java Syntax from the Ground Up

This chapter explains the details of the Java programming language,including some of the Java 5.0 language changes. It is a long anddetailed chapter that does not assume substantial programmingexperience. Experienced Java programmers can use it as a languagereference. Programmers with substantial experience with languagessuch as C and C++ should be able to pick up Java syntax quickly byreading this chapter; beginning programmers with only a modest amountof experience should be able to learn Java programming by studyingthis chapter carefully.

Chapter 3: Object-Oriented Programming in Java

This chapter describes how the basic Java syntax documented in is used to write object-oriented programsin Java. The chapter assumes no prior experience with OO programming.It can be used as a tutorial by new programmers or as a reference byexperienced Java programmers.

Chapter 4: Java 5.0 Language Features

This chapter documents the three biggest new features of Java 5.0:generic types, enumerated types, and annotations. If you readprevious editions of this book, you might want to skip directly tothis chapter.

Chapter 5: The Java Platform

This chapter is an overview of the essential Java APIs covered inthis book. It contains numerous short examples that demonstrate howto perform common tasks with the classes and interfaces that comprisethe Java platform. Programmers who are new to Java (and especiallythose who learn best by example) should find this a valuable chapter.

Chapter 6: Java Security

This chapter explains the Java security architecture that allowsuntrusted code to run in a secure environment from which it cannot doany malicious damage to the host system. It is important for all Javaprogrammers to have at least a passing familiarity with Java securitymechanisms.

Chapter 7: Programming and Documentation Conventions

This chapter documents important and widely adopted Java programmingconventions, including JavaBeans naming conventions. It also explainshow you can make your Java code self-documenting by includingspecially formatted documentation comments.

Chapter 8: Java Development Tools

Sun's JDK includes a number of useful Javadevelopment tools, most notably the Java interpreter and the Javacompiler. This chapter documents those tools.

These first eight chapters teach you the Java language and get you upand running with the Java APIs. Part II of the book is a succinct butdetailed API reference formatted for optimum ease of use. Please besure to read in Part II; it explains howto get the most out of the quick reference section. Also, please notethat the quick reference chapters are followed by one final chaptercalled "Class, Method, and FieldIndex." This special index allows you to look up thename of a type and find the package in which it is defined or to lookup the name of a method or field and find the type in which it it isdefined.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Java In A Nutshell, 5th Edition»

Look at similar books to Java In A Nutshell, 5th Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Java In A Nutshell, 5th Edition»

Discussion, reviews of the book Java In A Nutshell, 5th Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.