Java How to Program: An Objects-Natural Approach, 12th edition

Published by Pearson (June 12, 2025) © 2026

  • Paul Deitel Deitel & Associates, Inc.
  • Harvey M. Deitel Deitel & Associates, Inc.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

In this eTextbook — More ways to learn

  • More flexible. Start learning right away, on any device.
  • More supportive. Get AI explanations and practice questions (select titles).
  • More interactive. Bring learning to life with audio, videos, and diagrams.
  • More memorable. Make concepts stick with highlights, search, notes, and flashcards.
  • More understandable. Translate text into 100+ languages with one tap.

Title overview

The Deitels’ groundbreaking How to Program series explores fundamentals, object-oriented concepts, and intermediate-level topics for further study. Java How to Program: An Objects-Natural Approach is a friendly, code-intensive, case study-oriented introduction to one of the world’s most popular programming languages. It offers real-world examples, early classes and objects, and the authors’ signature live-code approach. Along with a thorough study of Java fundamentals and algorithm development, you’ll master Java’s basics by immersing yourself in hundreds of complete working code examples with meaningful outputs.

The 12th Edition introduces a new objects-natural approach that gives you ample practice using powerful existing classes, helping you to quickly create objects of those classes (typically with 1 line of code) and then tell them to “strut their stuff” with a minimal number of Java statements. You’ll also master genAI, the key set of artificial-intelligence technologies that leverage your creative capabilities. In the examples and exercises, you’ll use prompts and build programs that produce original text, Java code, images, audio, speech, music, and even video!

Table of contents

Before You Begin  

  1. Intro to Computers, the Internet, Java and Generative AI  
  2. Intro to Java Programming  
  3. Algorithm Development and Control Statements: Part 1   
  4. Control Statements: Part 2   
  5. Methods  
  6. Arrays and ArrayLists   
  7. Strings, NLP and Regex: Generative AI Foundations
  8. Real-World Modeling with Custom Classes
  9. Real-World Modeling with Inheritance, Polymorphism & Interfaces
  10. Exception Handling: A Deeper Look   
  11. Files, I/O Streams, JSON Serialization & CSV Files
  12. Generic Collections  
  13. Generic Classes and Methods: A Deeper Look
  14. Functional Programming with Lambdas & Streams  
  15. JavaFX Graphical User Interfaces: Part 1  
  16. JavaFX GUI: Part 2  
  17. JavaFX Graphics and Multimedia
  18. Concurrency: Platform Threads to Virtual Threads
  19. Building API-Based Java Generative AI Applications
  20. Accessing Databases with JDBC and SQLite
  21. Java Platform Module System
  22. Computer Science Thinking: Recursion, Searching, Sorting, Big O

A: Introduction to JShell for Interactive Java

B: Formatted Output  

C: Number Systems   

Index 

Need help?Get in touch