Errata Sheet For Blue Pelican Java
Textbook ver
3.0.5d
The latest downloadable pdf version of BPJ (http://www.bluepelicanjava.com) will already have these corrections in place. Visit the Errata page for an updated errata sheet.
Page 39-4; On
this page the following lines are present:
sum = n
sum = n + n/2
sum = n + n/2 + n/4 + n/8 +
+ 1
Eliminate sum = from each line
Page 35-3; Near the top, replace //1, returns index of the 9 in row 0. with
//3, returns index of the 9 in row 0.
Page42-1; In the left column,
replace void add(Object
o) with boolean add(object o).
Page AC-3; In the first example,
replace s.split([0-9]+rs) with s.split([0-9]+|rs).
Page AC-5; In
the first example, the final value for sr should be as follows:
//sr =
Kitty Hawk Wright broKitty Hawkers were