• Complain

Benjamin Evans - Java in a Nutshell: A Desktop Quick Reference

Here you can read online Benjamin Evans - Java in a Nutshell: A Desktop Quick Reference full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Sebastopol, CA, year: 2023, 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

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

This updated edition of the Nutshell guide not only helps experienced Java programmers get the most out of versions through Java 17, it also serves as a learning path for new developers. Chock-full of examples that demonstrate how to take complete advantage of modern Java APIs and development best practices, this thoroughly revised book includes new material on recent enhancements to the Java object model that every developer should know about.

The first section provides a fast-paced, no-fluff introduction to the Java programming language and the core runtime aspects of the Java platform. The second section is a reference to core concepts and APIs that explains how to perform real programming work in the Java environment.

  • Get up to speed on language details through Java 17
  • Learn object-oriented programming using basic Java syntax
  • Explore generics, enumerations, annotations, and lambda expressions
  • Understand techniques used in object-oriented design
  • Examine how concurrency and memory are intertwined
  • Work with Java collections and handle common data formats
  • Delve into Javas latest I/O APIs including asynchronous channels
  • Become familiar with development tools in OpenJDK

Benjamin Evans: author's other books


Who wrote Java in a Nutshell: A Desktop Quick Reference? 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: A Desktop Quick Reference — 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: A Desktop Quick Reference" 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, Eighth Edition

by Benjamin J. Evans , Jason Clark , and David Flanagan

Copyright 2023 Benjamin J. Evans and Jason Clark. 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 (.

  • Acquisitions Editors: Brian Guerin and
    Zan McQuade
  • Development Editor: Melissa Potter
  • Production Editor: Ashley Stussy
  • Copyeditor: Piper Editorial Consulting, LLC
  • Proofreader: Amnet Systems, LLC
  • Indexer: WordCo Indexing Services, Inc.
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Kate Dullea
  • February 2023: Eighth Edition
Revision History for the Eighth Edition
  • 2023-02-14: First Release

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

The OReilly logo is a registered trademark of OReilly Media, Inc. Java in a Nutshell, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

The views expressed in this work are those of the authors, and do not represent the publishers views. 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-098-13100-5

[LSI]

Dedication

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

Foreword

A lot can happen in four years.

This is as true of programming languages as it is of anything else.

Java 11, the first post-8 Java release with long-term support, arrived in September 2018 and the seventh edition of Java in a Nutshell came out a few months later.

Since then, both the wider world and the Java ecosystem have seen major upheavals that were largely unpredictable at that time.

The new release cadence, of a LTS release every three years (now changed to every two years), has found favor with the Java ecosystemvery few companies have chosen to adopt the interim, feature releases, and instead everyone prefers to stay on an upgrade path where only the LTS releases are productionized.

Java 11 has proved to be an excellent release and a worthy successor to the now-legacy Java 8.

With the release of Java 17, the language has moved forward yet again, with new features such as switch expressions and the introduction of Javas version of algebraic data types, in the form of records and sealed types.

Java performance continues to improve, and Java 17 is the fastest release yet.

In all, this is a great time to be joining (or returning to) application development in Java. Looking forward, the future holds some major changes that will alter the character of Java development in fundamental ways.

The next year or two will start to see these changes arrive and become part of the Java developers everyday experience.

Once again, in working on this new edition of a classic text, if we have preserved the feel of Java in a Nutshell, while updating it to bring it to the attention of a new generation of developers, then we shall be well satisfied.

Ben Evans, Barcelona, Spain, 2022 Jason Clark, Portland, Oregon (& Barcelona, Spain), 2022

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 17, but we recognize that some shops may not have adopted it yetso where possible we call out if a feature was introduced after Java 8.We use Java 17 syntax throughout, including var and lambda expressions .

Changes in the Eighth Edition

The seventh edition of this book covers Java 11, whereas this edition covers Java 17.However, the release process of Java changed significantly with the arrival of Java 9, and certain releases of Java are now badged as long-term support (LTS) releases.So, Java 17 is the next LTS release of Java after Java 11.

With the eighth edition 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 grown in importance for all developers.

In this edition, we have taken the approach that only the most recent versions of Java are likely to be of interest to the majority of Java developers, so we usually only call out when new features arrived after Java 8.

For example, the module system (that arrived with Java 9) is still likely to be new for at least some developers, and it represents a major change.However, it is also something of an advanced topic and is in someways separate from the rest of the language, so we have restricted our treatment of it to a single chapter.

Contents of This Book

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

This chapter is an overview of the Java language and the Javaplatform. It explains the important features and benefits of Java,including the lifecycle of a Java program. We also touch on Javasecurity 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 detailedchapter 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 andC++ should be able to pick up Java syntax quickly by reading thischapter; beginning programmers with only a modest amount of experienceshould be able to learn Java programming by studying this chaptercarefully, although it is best read in conjunction with an introductory text(such as OReillys Head FirstJava by Kathy Sierra, Bert Bates, and Trisha Gee).

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

This chapter builds on the basic description of object-orientedprogramming in Java and introduces the other aspects of Javas typesystem, such as generic types, enumerated types, and annotations. Withthis more complete picture, we can discuss the biggest change in Java8the arrival of lambda expressions.

This chapter is an overview of some basic techniques used in thedesign of sound object-oriented programs, and it briefly touches on thetopic of design patterns and their use in software engineering.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Java in a Nutshell: A Desktop Quick Reference»

Look at similar books to Java in a Nutshell: A Desktop Quick Reference. 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: A Desktop Quick Reference»

Discussion, reviews of the book Java in a Nutshell: A Desktop Quick Reference 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.