Errata (fifth edition)

(Errata for the fourth edition are here.)
(Errata for the third edition are here.)
(Errata for the second edition are here.)

Chapter 1:

Page 9:

"(Boolean is a type that can represent ..."
should read
"(The type boolean can represent ..."
(i.e. 'boolean' should be in lowercase, referring to the primitive type.)

Chapter 3:

Page 72:

"If one of the operands of a plus operation is a string and the other is not, then the other operator ..."
should read
"If one of the operands of a plus operation is a string and the other is not, then the other operand ..."

Chapter 10:

Page 330, Exercise 10.8:

"After having run the simulation for a while, reset it and also call the static reset method of the Randomizer class."
should read
"After having run the simulation for a while, call the static reset method of the Randomizer class and then the reset method of the Simulator object."
(In other words: the order of the method calls should be reversed.)

 

 

Back to main page