ThinkJavaCode2

Supporting code for Think Java, 2nd edition. Copyright (c) 2020 Allen B. Downey and Chris Mayfield. This edition was published in December 2019 by O'Reilly Media (ISBN 9781492072508).

This repository contains the code examples from the book and starter code for some exercises. There are several ways you can work with the code:

To clone a repository, you need Git installed on your computer (see https://help.github.com/). If you use Git from the command line, you can clone the original repository like this:

git clone https://github.com/ChrisMayfield/ThinkJavaCode2.git

After you clone the repository or unzip the ZIP file, you should have a directory named ThinkJavaCode2 with a subdirectory for each chapter in the book.

The examples in this book were developed and tested using OpenJDK 11. If you are using a more recent version, everything should still work. If you are using an older version, some of the examples might not.