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 Java’s latest I/O APIs including asynchronous channels Become familiar with development tools in OpenJDK
From the brand

Explore Java resources
More Java
More From O’Reilly

Sharing the knowledge of experts
O’Reilly’s mission is to change the world by sharing the knowledge of innovators. For over 40 years, we’ve inspired companies and individuals to do new things (and do them better) by providing the skills and understanding that are necessary for success.
Our customers are hungry to build the innovations that propel the world forward. And we help them do just that.
Publisher : O’Reilly Media
Publication date : March 21, 2023
Edition : 8th
Language : English
Print length : 479 pages
ISBN-10 : 1098131002
ISBN-13 : 978-1098131005
Item Weight : 2.31 pounds
Dimensions : 6 x 1 x 9 inches
Best Sellers Rank: #593,903 in Books (See Top 100 in Books) #5 in Java Programming Reference #108 in Object-Oriented Design #478 in Software Development (Books)
Customer Reviews: 4.3 4.3 out of 5 stars (16) var dpAcrHasRegisteredArcLinkClickAction; P.when(‘A’, ‘ready’).execute(function(A) { if (dpAcrHasRegisteredArcLinkClickAction !== true) { dpAcrHasRegisteredArcLinkClickAction = true; A.declarative( ‘acrLink-click-metrics’, ‘click’, { “allowLinkDefault”: true }, function (event) { if (window.ue) { ue.count(“acrLinkClickCount”, (ue.count(“acrLinkClickCount”) || 0) + 1); } } ); } }); P.when(‘A’, ‘cf’).execute(function(A) { A.declarative(‘acrStarsLink-click-metrics’, ‘click’, { “allowLinkDefault” : true }, function(event){ if(window.ue) { ue.count(“acrStarsLinkWithPopoverClickCount”, (ue.count(“acrStarsLinkWithPopoverClickCount”) || 0) + 1); } }); });
2 reviews for Java in a Nutshell: A Desktop Quick Reference
Add a review
Original price was: $65.99.$44.94Current price is: $44.94.


Tony Mancill –
Much more than just the language in a nutshell, and a solid, timely refresh for Java 17 LTS
The book is divided into two main parts. The first part is a solid introduction to the language and the Java platform. If you are new to Java, this will get you working with it quickly. This first section is also worthwhile reading for those who work already work with Java and want to further their knowledge and be more precise with their terminology. Like the editions that precede it, the book contains convenient “nutshell” tables and summaries of the important aspects of the language – the sort of material you can refer to for definitive answers.The second part of the book goes deeper into libraries and common patterns you encounter when working with the language day-to-day. There are chapters on standards topics such as collections and file I/O that will give you a solid introduction (or refresher) in these areas. However, for me, the chapters on classloading and reflection (metaprogramming), and then the following chapter on working with the Java module truly stand out. They provide clear, helpful explanations of these often misunderstood (or half-understood) topics. Throughout the book the authors use a mixture of exposition and code examples to good effect; the examples are quite effective at reinforcing the concepts.The 5-star review is because, in addition to thoroughly covering the “nutshell” aspects, the authors do an outstanding job of framing Java in the context of a living, evolving language and ecosystem. What’s new in Java 17? How and why does it differ from earlier releases? What is likely the change in future releases, and what won’t be changing? Having this background and contextual material interspersed with the nuts and bolts content helped me understand and appreciate the language and platform more deeply.
Abc –
Pages missing and book falling apart
Great book, extremely informative, but the book itself is about to fall apart with pages literally falling out