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.
import javax.swing.JPanel;
b. A string "Hello, Dave!"
to
b. A string with the contents “Hello, Dave!”
(i.e. not monospaced and curly quotes)
void getPosition()
to double
getPosition()
Agent5
to "Agent5"
BankAccount a = (BankAccount) a.get(0); // Need cast
to
BankAccount a = (BankAccount) accounts.get(0); // Need cast
for (x : xs)
to for (double x :
xs)
System.out.println("Syllables in " + input + ": " + syllables);
to
System.out.println("Syllables in " + w.getText() + ": " + syllables);
In the program run, change “Syllables in peach.:
1
” to “Syllables in peach: 1
”.
import java.util.Scanner;
to the top of the file. Change
int accountNumber = in.nextInt;
int accountNumber = in.nextInt();
int matchingBalance = in.nextLine();
int matchingBalance = in.nextInt();
for (x : values)
to for (double x :
values)
double r = sqrt(PI);
Tax
class" to "the
TaxReturn
class".PrintSream
to
PrintStream
System.out.print(iterator.next() + " ");
to
System.out.print(name + " ");
if (smallestParent == toBeRemoved) smallestParent.right = smallest.right; else smallestParent.left = smallest.right;
print
instead of
println
System.out.println();
()
in the first line of code:
PriorityQueue<WorkOrder> q = new PriorityQueue<WorkOrder>();
http://mach.usno.navy.mil/cgi-bin/aa_moonphases?year=2006
with
http://aa.usno.navy.mil/cgi-bin/aa_moonphases.pl?year=2006
h:selectManyRadio
from the tableColor
constructor, change float
to
int
(3x), and change 0.0F
and 1.0F
to 0 and 255.return n * factorial(n - 1)
;
should
line up with the preceding lne. Thanks to Ryan Cuthbertson, Marcello Dalpasso, Dan DeMicco, John Gallagher, Rick Giles, Rodney Hoffman, Cindy Johnson, Lawrence Johnson, Joseph O'Donnell, Kandukuri Vijayanth Reddy, Henk Schotel, David Sharpe, Douglas Switzer, Jørgen Villadsen, Peter Warburton, Floris Wiesman, Rick Zaccone, and (your name might go here) for their bug reports and suggestions
Please report any remaining bugs in this edition on the bug report form.