• Complain

Benjamin J. Evans - Java in a Nutshell

Here you can read online Benjamin J. Evans - Java in a Nutshell full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Beijing, year: 2015;2014, publisher: OReilly Media, Inc., genre: Home and family. 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.

Benjamin J. Evans Java in a Nutshell

Java in a Nutshell: 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" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Introducing Java. Introduction to the Java environment -- Java Syntax from the ground up -- Object-oriented programming in Java -- The Java type system -- Introduction to object-oriented design in Java -- Javas approach to memory and concurrency -- Working with the Java platform. Programming and documentation conventions -- Working with Java collections -- Handling common data formats -- File handling and I/O -- Classloading, reflection, and method handles -- Nashorn -- Platform tools and profiles.;The sixth edition of Java in a Nutshell helps experienced Java programmers get the most out of Java 7 and 8, but its also a learning path for new developers. With examples rewritten to take full advantage of modern Java APIs and development best practices, this fully updated book brings you up to date and gets you ready to develop Java applications for the future. Learn how lambda expressions make your programs shorter, and easier to write and understand ; Explore Nashorn, the brand new implementation of Javascript on the Java Virtual Machine Start using the new I/O APIs to make your code cleaner, shorter, and safer ; Understand Javas concurrency model and learn how to write multithreaded code with confidence.

Benjamin J. Evans: author's other books


Who wrote Java in a Nutshell? 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 — 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" 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

by Benjamin J. Evans and David Flanagan

Copyright 2015 Benjamin J. Evans and David Flanagan. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

  • Editors: Mike Loukides and
    Meghan Blanchette
  • Production Editor: Matthew Hacker
  • Copyeditor: Charles Roumeliotis
  • Proofreader: Jasmine Kwityn
  • Indexer: Ellen Troutman Zaig
  • Interior Designer: David Futato
  • Cover Designer: Ellie Volckhausen
  • Illustrator: Rebecca Demarest
  • February 1996: First Edition
  • May 1997: Second Edition
  • November 1999: Third Edition
  • March 2002: Fourth Edition
  • March 2005: Fifth Edition
  • October 2014: Sixth Edition
Revision History for the Sixth Edition
  • 2014-10-10: First Release

See http://oreilly.com/catalog/errata.csp?isbn=9781449370824 for release details.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. Java in a Nutshell, the cover image of a Javan tiger, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.

While the publisher and the authors have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the authors disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-449-37082-4

[LSI]

Dedication

This book is dedicated to all who teach peace and resist violence.

Foreword

In the winter of 201314, the United Kingdom was battered by an extended series of exceptionally violent winter storms. These storms uncovered shipwrecks and some amazing archaeology, especially in my home county of Cornwall. One of the most striking discoveries was a petrified forest, dating back to the end of the last Ice Age, now covered by the sea and sand. Before the sea claimed it again, I was lucky enough to visit it at very low tide and spend some hours exploring it.

Among the remaining roots and tree stumps and beds of organic matter on their way to becoming peat, I could still make out pieces of trunk branch and bark. As I wandered along the shore with the tide coming in, I came across a single hemisphere from a nutfrom a tree that no longer grows in these latitudes. Despite being embedded in the organic layer, the shape of the nutshell and its ability to survive over long periods of time was still unmistakable.

In working on this new edition of Davids classic text, I hope to have embodied the spirit of that prehistoric tree. If I have preserved the tenacious form and, crucially, the feel of Java in a Nutshell, while bringing it to the attention of a new generation of developers, with the important parts emphasized, then I shall be well satisfied.

Ben Evans, 2014

Preface

This book is a desktop Java reference, designed to sit faithfully by your keyboard while you program. is a reference section that blends elucidation of core concepts with examples of important core APIs. The book covers Java 8, but we recognize that some shops may not have adopted it yetso where possible we call out if a feature was introduced in Java 8 (and sometimes Java 7). We use Java 8 syntax throughout, including using lambda expressions in code that would previously have used a trivial anonymous nested class.

Changes in the Sixth Edition

The fifth edition of this book covers Java 5, whereas this edition covers Java 8. The language, and the working environment of the programmer, have both changed considerably since the last edition was published nearly a decade ago. This new edition has, accordingly, changed a vast amount as well. One very important aspect is that this book does not attempt to be as complete a description of the core platform APIs as was possible in earlier editions.

For one thing, the sheer size of the core APIs render this utterly impractical for a printed book. A more compelling reason is the continued rise of fast, always-on Internet. The amount of Java programmers who regularly work without Internet access is now vanishingly small. The proper place for detailed reference API docs is online, not printed out.

Accordingly, the reference section, which occupied two-thirds of the fifth edition, is gone. In the space weve recovered, we have tried to update the concept of what it means to be a Nutshell guide. The modern Java developer needs to know more than just syntax and APIs. As the Java environment has matured, such topics as concurrency, object-oriented design, memory, and the Java type system have all gained in importanceeven among mainstream developers.

In this edition, we have tried to reflect this changed world, and have largely abandoned the historical approach of earlier editions. In particular, the exhaustive attempt to detail exactly which version of Java particular features arrived with has mostly been abandonedonly the most recent versions of Java are likely to be of interest to the majority of Java developers.

Contents of This Book

The first six chapters of this book document the Java language and the Java platformthey should all be considered essential reading. The book is biased toward the Oracle/OpenJDK (Open Java Development Kit) implementation of Java, but not greatly sodevelopers working with other Java environments will still find plenty to occupy them. includes:

This chapter is an overview of the Java language and the Java platform. It explains the important features and benefits of Java, including the lifecycle of a Java program. We also touch on Java security and answer some criticisms of Java.

This chapter explains the details of the Java programming language, including the Java 8 language changes. It is a long and detailed chapter that does not assume substantial programming experience. Experienced Java programmers can use it as a language reference. Programmers with substantial experience with languages such as C and C++ should be able to pick up Java syntax quickly by reading this chapter; beginning programmers with only a modest amount of experience should be able to learn Java programming by studying this chapter carefully, although it is best read in conjunction with a second text (such as OReillys Head First Java by Bert Bates and Kathy Sierra).

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

This chapter builds on the basic description of object-oriented programming in Java, and introduces the other aspects of Javas type system, such as generic types, enumerated types, and annotations. With this more complete picture, we can discuss the biggest change in Java 8the arrival of lambda expressions.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Java in a Nutshell»

Look at similar books to Java in a Nutshell. 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»

Discussion, reviews of the book Java in a Nutshell 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.