Big Java, 3rd ed. / Java Concepts, 5th ed.

Bug Report Page

.  .

How to Tell which Printing You Have

On the copyright page (facing the first page of the Preface), there is a printing history of the book. The printing history is a row of numbers that—at the 1st printing—looks like this:

10 9 8 7 6 5 4 3 2 1

At each subsequent printing, one number is removed from the end of this row of numbers to indicate which printing of the book you have. For example, the last number in the row of numbers in the 2nd printing is 2, and so on.

[B3C2] = fixed in Big Java's 3rd printing, Java Concepts 2nd printing
[B3] = fixed in Big Java's 3rd printing

Page numbers have a prefix B for Big Java or C for Java Concepts.

Page B157/C143
Last statement of Step 6 should be System.out.println("Expected: 22"); (It is missing a ")
Page B320/C278 ch07/regression/BankTester.java
Add
import java.util.Scanner;

to the top of the file. Change

int accountNumber = in.nextInt;
to
int accountNumber = in.nextInt();
Change
int matchingBalance = in.nextLine();
to
int matchingBalance = in.nextInt();
Page B222/C198
In Exercise P5.7, change “and prints the lexicographically smallest and largest one:” to “and prints them in lexicographically sorted order:”
Page B525/C454
In Exercise P11.8, change "java -t tabwidth filename" to "java TabExpander -t tabwidth filename"
Page B729
Replace line 112 with
      if (smallestParent == toBeRemoved) 
         smallestParent.right = smallest.right; 
      else 
         smallestParent.left = smallest.right; 
Page B913
In exercise 21.10, replace
http://mach.usno.navy.mil/cgi-bin/aa_moonphases?year=2006
with
http://aa.usno.navy.mil/cgi-bin/aa_moonphases.pl?year=2006

Thanks to John Gallagher, Rick Giles, Joseph O'Donnell and (your name might go here) for their bug reports and suggestions

Bug Report Form

Please use this form to report any bugs that you find. Please check the list of known bugs and the list of frequently asked questions first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!

Your name:

Your email address:


Page number:

Problem description:

To protect against spam robots, please answer this simple math problem:
* =