Errata Sheet For Blue Pelican Java
Textbook ver
3.0.5c
The latest downloadable pdf version of BPJ (http://www.bluepelicanjava.com) will already have these corrections in place. Visit the Errata tab for an updated errata sheet.
Page 22-4; Problem 4, in the
signature for the adjust method,
replace int with
double
Page 36-8; Problem 13, replace this.(x, y) with this(x, y)
Page 39-6; Problem 6, replace n+=8
with k+=8
Page 41-17; Replace the for loop following Comparable tmp=array[j]; with the following:
for(int k = length - 1; k > pos1; --k)
{
array[k]=array[k-1];
}
Page 42-1; Remove the removeLast method
from the table of List interface
methods.
Page 50-4; Replace (,
10, +, 2, ), /, (, 9, - 2, ), = with (,
10, +, 2, ), /, (, 9, - 3, ), =