Java for Programmers: with Generative AI, Edition 5

·
· Pearson Education
Ebook
Eligible
This book will become available on May 30, 2025. You will not be charged until it is released.

About this ebook

The professional programmer's Deitel® guide to Java with integrated generative AI

Written for programmers with a background in another high-level language, in Java for Programmers: with Generative AI, Fifth Edition, you'll learn modern Java development hands on using the latest Java idioms and features and genAIs.

In the context of 200+ real-world code examples, you'll quickly master Java fundamentals then move on to arrays, strings, regular expressions, JSON/CSV processing with the Jackson library, private- and public-key cryptography, classes, inheritance, polymorphism, interfaces, dependency injection, exceptions, generic collections, custom generics, functional programming with lambdas and streams, JavaFX GUI, graphics and multimedia, platform threads, virtual threads, structured concurrency, scoped values, building API-based Java genAI apps, database with JDBC and SQLite, the Java Platform Module System and JShell for Python-like interactivity.

Features:

  • GenAI Prompt Engineering, API Calls, 600 GenAI Exercises
  • ChatGPT, Gemini, Claude, Perplexity
  • Multimodal: Text, Code, Images, Audio, Speech-to-Text, Text-to-Speech, Video
  • Generics: Collections, Classes, Methods
  • Functional Programming: Lambdas & Streams
  • JavaFX: GUI, Graphics, Multimedia
  • Concurrency: Parallel Streams, Virtual Threads, Structured Concurrency, Scoped Values, Concurrent Collections, Multi-Core
  • Database: JDBC, SQL, SQLite
  • Java Platform Module System (JPMS)
  • Objects Natural: Java API, String, BigInteger, BigDecimal, Date/Time, Cryptography, ArrayList, Regex, JSON, CSV, Web Services
  • JShell for Python-Like Interactivity

Want to stay in touch with the Deitels?

  • Contact the authors at [email protected]
  • Join the Deitel social media communities
    deitel.com/linkedin
    facebook.com/DeitelFan
    instagram.com/DeitelFan
    x.com/deitel
    youtube.com/DeitelTV
    mastodon.social/@deitel
  • For source code and updates, visit: deitel.com/javafp5

Reviewer Comments
"The future of Java programming is here, and this new edition of Deitel is leading the charge! By embracing genAI head-on, the authors are potentially revolutionizing programming education. Through its integrative approach to the use and study of genAI, this book is positioned to be the leading book in modern Java and its applications. Indeed, I expect that it should be widely adopted by instructors who want to ingrain in their students an appreciation for the critical role that Java will play in data science, machine learning, artificial intelligence, and cybersecurity.

"The book's innovative and forward-thinking use of genAI facilitates reader engagement and inspires readers to think critically about the benefits and limitations of AI as a programming aid. Chapter 19 could become everyone's favorite new Java book chapter--the generative AI API-based code examples are interesting and fun.

"All audiences of this book should read the Preface--there's so much to get excited about! It demonstrates, with refreshing transparency and honesty, how much love and care went into the reinvention of an already outstanding Java book by bringing it into a new frontier of what it means to be a programmer in today's world. Bravo! Your Preface statement: 'GenAI has created an ultra-high-level programming capability that will leverage your Java learning experience and ability to produce robust, top-quality Java software quickly, conveniently and economically.' is a great conclusion to the Preface intro--really helps justify the use of genAI!"
--Brian Canada, Professor of Computational Science, University of South Carolina Beaufort

"After reading your whole book, it was fun to read the Preface that wraps everything up at a high level. You have done some amazing work here, and I'm glad to have been a small part of it as a reviewer! I especially appreciate how difficult it must have been to make sure everything was as up to date as possible with the speed at which things change in this field, and the deftness with which you incorporated all the focus on GenAI and data science that's in this book."
--Emily Navarro, Ph.D., Continuing Lecturer, Department of Informatics, University of California, Irvine

"The generative AI exercises are awesome and reflect the way modern developers work! They are fun and let the reader explore and learn about AI by using AI--how meta. This allows readers to expand their knowledge and get a feel for the AIs' code-related capabilities."
--Jeanne Boyarsky, CodeRanch, Java Champion

Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details. (Note: eBooks are 4-color and print books are black and white.)

About the author

Paul Deitel, CEO and Chief Technical Officer of Deitel & Associates, Inc., is a graduate of MIT, where he studied Information Technology. He holds the Java Certified Programmer and Java Certified Developer designations, and is an Oracle Java Champion. Through Deitel & Associates, Inc., he has delivered hundreds of programming courses worldwide to clients, including Cisco, IBM, Siemens, Sun Microsystems, Dell, Fidelity, NASA at the Kennedy Space Center, the National Severe Storm Laboratory, White Sands Missile Range, Rogue Wave Software, Boeing, SunGard Higher Education, Nortel Networks, Puma, iRobot, Invensys and many more. He and his co-author, Dr. Harvey M. Deitel, are the world's best-selling programming-language textbook/professional book/video authors.

Dr. Harvey Deitel, Chairman and Chief Strategy Officer of Deitel & Associates, Inc., has over 50 years of experience in the computer field. Dr. Deitel earned B.S. and M.S. degrees in Electrical Engineering from MIT and a Ph.D. in Mathematics from Boston University. He has extensive college teaching experience, including earning tenure and serving as the Chairman of the Computer Science Department at Boston College before founding Deitel & Associates, Inc., in 1991 with his son, Paul. The Deitels' publications have earned international recognition, with translations published in Japanese, German, Russian, Spanish, French, Polish, Italian, Simplified Chinese, Traditional Chinese, Korean, Portuguese, Greek, Urdu and Turkish. Dr. Deitel has delivered hundreds of programming courses to corporate, academic, government and military clients.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.