Walls and Mirrors: Java (1st ed) Errata
Walls and Mirrors: Java (1st ed) Errata

Last updated on June 8, 2002






========================================================================
Chapter 2
---------------------------------------------------------------------------

Page 58, bottom of page just above last row of boxes

add "of" before "fact"

---------------------------------------------------------------------------

Page 97

Exercise 1, Line 4

remove the space in getNumber Equals


---------------------------------------------------------------------------
========================================================================
Chapter 3
---------------------------------------------------------------------------

Page 140

6th line from bottom

int should be bold


========================================================================
Chapter 5
---------------------------------------------------------------------------

Page 227

On Line 1,

change 0 to -1


========================================================================
Chapter 6
---------------------------------------------------------------------------

Page 250, 3 lines above Key concepts

Change "is it" to "it is"
---------------------------------------------------------------------------

Page 293 bottom

Change getName(name) to getName()

Change getNamePair(name1, name2) to getNamePair()
========================================================================
Chapter 8
---------------------------------------------------------------------------

Page 358

On Line 4,

change

asumes

to

assumes
---------------------------------------------------------------------------


========================================================================
Chapter 9
---------------------------------------------------------------------------

Page 392, the 7th line from the end of the method insertionSort

Change

theArray[loc--] = theArray[loc-1];

to

theArray[loc] = theArray[loc-1];
loc--;

---------------------------------------------------------------------------

===========================================================================
Chapter 10
---------------------------------------------------------------------------
Page 422, last paragraph

Change "valued-oriented" to "value-oriented"
---------------------------------------------------------------------------

Page 467, 9th line from bottom

Change

replacementItem = findLeftMost(treeNode)

to

replacementItem = findLeftMost(treeNode.getRight())

---------------------------------------------------------------------------

Page 494, Problem 5

In the description of "Quit", change "address book" to "phone book"
---------------------------------------------------------------------------
========================================================================
Chapter 13
---------------------------------------------------------------------------

Page 628, first paragraph

Change "hierarchal" to "hierarchical"
---------------------------------------------------------------------------

Page 639, last paragraph

Change

Finding an Euler circuit is like drawing each of the diagrams in Figure 13-28 without lifting your pencil or redrawing a line.

to

Finding an Euler circuit is like drawing each of the diagrams in Figure 13-28 without lifting your pencil or redrawing a line, but ending at your starting point.

========================================================================
Appendix A
---------------------------------------------------------------------------
Page 737

Change

class Person {

to

public class Person implements Serializable {

---------------------------------------------------------------------------