Skip to main content

Preface Preface

Java, Java, Java first edition (2000) and second edition (2003) were published by Prentice-Hall, and the third edition (2006) by Pearson Education, Inc. In 2010 Pearson Education, Inc. reassigned the copyright to the authors, Ralph Morelli and Ralph Walde. The authors made the 4th edition book PDF available under an open source license in 2016. Also in 2016, David Cooper (University of Tennessee-Chattanooga) contributed changes to deemphasize applets.

In 2022, authors Ralph Morelli (Trinity College, emeritus), Ralph Walde (Trinity College, emeritus), joined by Beryl Hoffman (Elms College), created this interactive e-book edition of Java, Java, Java on Runestone. Doug Lundin (Arapahoe Community College) helped review some of the book's graphical interfaces.

This new edition has been enhanced with interactive activities where students can run, edit, and trace through Java right in the e-book, and complete interactive exercises.

Java, Java, Java is suitable for a typical Introduction to Computer Science (CS1) course or for a slightly more advanced Java as a Second Language course. This edition retains the "objects first" approach to programming and problem solving that was characteristic of the first two editions. Throughout the text we emphasize careful coverage of Java language features, introductory programming concepts, and object-oriented design principles. This edition retains many of the features of the first editions, including:

  • Early Introduction of Objects

  • Emphasis on Object Oriented Design (OOD)

  • Unified Modeling Language (UML) Diagrams

  • Self-study Exercises with Answers

  • Programming, Debugging, and Design Tips.

  • From the Java Library Sections

  • Object-Oriented Design Sections

  • End-of-Chapter Exercises

There are additional resources such as slides, source code, and labs available at and The pretext source files are available at

This work is licensed under a Creative Commons Attribution 4.0 International License which allows the book to be used, modified, and shared with attribution: