Skip to Content
Java Cookbook, 5th Edition
book

Java Cookbook, 5th Edition

by Ian F. Darwin
February 2025
Intermediate to advanced
684 pages
16h 14m
English
O'Reilly Media, Inc.
Book available

Overview

As Java continues to evolve, this cookbook continues to grow in tandem with hundreds of hands-on recipes across a broad range of Java topics. Author Ian Darwin gets developers up to speed right away with useful techniques for everything from string handling and functional programming to network communication and AI.

If you're familiar with any release of Java, this book will bolster your knowledge of the language and its many recent changes, including how to apply them in your day-to-day development. Each recipe includes self-contained code solutions that you can freely use, along with a discussion of how and why they work.

Downloadable from GitHub, all code examples compile successfully. This updated edition covers changes up to Java 23 and most of Java 24. You will:

  • Learn how to apply many new and old Java APIs
  • Use the new language features in recent Java versions
  • Understand the code you're maintaining
  • Develop code using standard APIs and good practices
  • Explore the brave new world of current Java development

Ian Darwin has a lifetime of experience in the software industry, having worked with Java across many platforms and types of software, from Java's initial pre-release to the present, from desktop to enterprise to mobile.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Java Cookbook, 4th Edition

Java Cookbook, 4th Edition

Ian F. Darwin
Java in a Nutshell, 8th Edition

Java in a Nutshell, 8th Edition

Benjamin J. Evans, Jason Clark, David Flanagan
The Well-Grounded Java Developer, Second Edition

The Well-Grounded Java Developer, Second Edition

Benjamin Evans, Martijn Verburg, Jason Clark
Learning Java, 6th Edition

Learning Java, 6th Edition

Marc Loy, Patrick Niemeyer, Daniel Leuck

Publisher Resources

ISBN: 9781098169961Errata PageSupplemental Content