Java from the beginning, second edition, 2004
Corrections

Note: Negative line numbers mean “from the bottom of the page”

 
page 89, line 12: change  ‘class variable’ to ‘instance variable’
 
page 93, lines 4 and 5 (in figure 3.1): change to
                 -balance: double
                 -interestEarned: double
 
page 96, exercise 8, line 6: change g>=0  to  g>0 
 
page 147, lines 13 and 14: change the sentence to 
                  ‘Like the class Calender, it lies in the package java.util.’
 
page 192, lines -2 and -1: delete the sentence 
                   ‘You then get the number of the alternative as a parameter.’
 
page 204, line 7: change mod4,getDate to mod4.getDate
 
page 231, last paragraph: change Graphics2 to Graphics2D everywhere (4 places)
 
page 232, line 1: change Graphics2 to Graphics2D
 
page 250, lines 2 and 10: change con.gridy = 3; to con.gridy = 2;
 
page 250, lines 19, 25, and 29: change con.gridy = 4; to con.gridy = 3;
 
page 275, lines 1 to 3: change the start of the sentence to:
                   ‘The result is a value that is 0 if the two texts are equal, ... ‘
 
page 283, line 12: change ‘element’ to ‘argument’
 
page 308, lines 18 and 19: change to
              public int[] xpoints;           // ...
              public int[] ypoints;           // ...
 
page 308, line 23 change ‘int xpoints[], int ypoints[]’ to ‘int[] xpoints, int[] ypoints’
 
page 312, line 8 after the table: change ‘multi-dimensional element’ to ‘multi-dimensional array’
 
page 331, line6 7: change to
               BlockOfFlats f = new BlockOfFlats();
 
page 508, line -9: change IconImage to ImageIcon