freeprogrammingbooks.com

Java, Java, Java: Object-Oriented Problem Solving, Third Edition

By Ralph Morelli and Ralph Walde (2017)

Java, Java, Java: Object-Oriented Problem Solving, Third Edition book cover

Java turned 30 in 2025 and continues to be one of the most widely used programming languages in enterprise software, cloud computing, and Android development.

With over 30% of developers using Java as their primary language, the ecosystem remains vibrant. The release of JDK 25 as the latest LTS and the ongoing evolution of the platform through projects like Valhalla, Loom, and Panama demonstrate that Java is far from stagnant. For anyone looking to start a career in software development or deepen their understanding of object-oriented programming, learning Java with a solid introductory textbook is the first step.

About the book

Java, Java, Java: Object-Oriented Problem Solving, Third Edition, is a comprehensive introductory textbook designed for CS1 courses or Java as a second language programs. Written by Ralph Morelli and Ralph Walde of Trinity College, this book takes an objects-first approach to programming and problem solving.

Originally published by Pearson Education, the authors regained the copyright and released this edition under a Creative Commons Attribution 4.0 license, making it freely available to students, educators, and self-learners worldwide.

The book covers Java language features systematically, from basic program structure to advanced topics like threads, networking, and data structures. Each chapter is built around a running example that ties concepts to practical applications. The third edition replaces earlier CyberPet examples with a collection of games and puzzle examples that make learning more engaging.

What you will learn

This textbook takes you from zero programming experience to solid competence in Java and object-oriented design. You will start with the fundamentals of Java program structure, variables, and control flow. Early chapters introduce objects and methods before moving into input/output design.

As you progress, you will explore inheritance and polymorphism, arrays, exception handling, file I/O, and recursive problem solving. Later chapters cover graphical user interfaces, concurrent programming with threads, socket-based networking, and fundamental data structures like lists, stacks, and queues. Throughout the book, UML diagrams help you visualize object-oriented design patterns.

Table of contents

  • Chapter 0: Computers, Objects, and Java
  • Chapter 1: Java Program Design and Development
  • Chapter 2: Objects: Defining, Creating, and Using
  • Chapter 3: Methods: Communicating with Objects
  • Chapter 4: Input/Output: Designing the User Interface
  • Chapter 5: Java Data and Operators
  • Chapter 6: Control Structures
  • Chapter 7: Strings and String Processing
  • Chapter 8: Inheritance and Polymorphism
  • Chapter 9: Arrays and Array Processing
  • Chapter 10: Exceptions: When Things Go Wrong
  • Chapter 11: Files and Streams
  • Chapter 12: Recursive Problem Solving
  • Chapter 13: Graphical User Interfaces
  • Chapter 14: Threads and Concurrent Programming
  • Chapter 15: Sockets and Networking
  • Chapter 16: Data Structures: Lists, Stacks, and Queues

Book details

  • Title: Java, Java, Java: Object-Oriented Problem Solving, Third Edition
  • Author(s): Ralph Morelli and Ralph Walde
  • Publication year: 2017
  • Publisher: Self-published (open source edition)
  • Pages: 856
  • PDF size: 5.6 MB
  • Estimated reading time: ~21 h 24 min
  • Level: Beginner
  • Main category: Programming
  • Subcategory: Java
  • Language: English
  • License: Creative Commons Attribution 4.0 International (CC BY 4.0)

More books in: Java, Programming


Legal notice: This book is shared for educational purposes only. The content is distributed under Creative Commons licenses or with explicit permission from the author. FreeProgrammingBooks may host files that comply with their respective licenses.

Want more free books?

Join our channels and receive free books, courses and tech news.