Errata Sheet For Blue Pelican Java

Answerbook ver 3.0.5g

 

The latest downloadable pdf version of BPJ will already have these corrections in place.

 

Page 5-4 .....Replace problem 3 with the following:

 

3. What’s wrong, if anything, with the following code in the main method?

 

final double Area; //Nothing is wrong

Area = 203.49;

 

Page 10-2, problem 1… Answer is   int and char (also short and byte)

 

Page 10-3, problem 1… Answer is   int and char (also short and byte)

 

Page 20-3, problem 3…Replace  return actor1  with  return y .

 

Page 22-3 …bottom of the page, Answer to Contest Problem 4 is C

 

Page 27-3 ...Problem 4, replace db = nextDouble( ); with db = kbReader.nextDouble( );

 

Page Test 22-3 & 22-7 …Problem 16, replace main( ) with main(String args[])

 

Page Test, Lesson38-4 … Answer to problem 7 is E … If try is used, it is ok to only have
                                          a finally.