These errors only exist in the hard-copy books. The downloadable pdf file has been fixed.
Page 19-5; Near bottom of page, replace for(String ss; str) with for(String ss: str)
Page 35-2: 3rd line from bottom, replace //2, returns index of the 3 in row 0 with //0, returns index of the 3 in row 0
Page 37-10; Eliminate while in the line that has just }while
Page 38-4; Replace nextDouble(System.in) with nextDouble( )
Page 39-5; Replace O(log n) and O(n2) with O(log n) and O(n)
Page 43-5; Make these changes to #4: A. int D. Both A an B, but first cast as Objects
Page Nug4-1; In #3 replace public int a[ ] myMethod( ) with public int[ ] myMethod( )
Page Nug21-1; All of the code inside the Tester class should be encapsulated in a main method.
Page
44-7; In the code for problems 3 & 4 replace
Iterator itr = lnkLst( );
with
Iterator itr = lnkLst.iterator( );
also replace
while(lnkLst.hasNext( ) with