Java in a Nutshell, 3rd Edition by David Flanagan The following changes were made in the 3/01 reprint: (25) last example: "Avagadro's Number" now reads "Avogadro's Number." {40} 2nd block of code: -50 >>> 2 // 11001110 >>> 2 = 00110011 = 51 0xff >>> 4 // 11111111 >>> 4 = 00001111 = 15 = 255/16 now reads 0xff >>> 4 // 11111111 >>> 4 = 00001111 = 15 = 255/16 -50 >>> 2 // 0xFFFFFFCE >>> 2 = 0x3FFFFF33 = 1073741811 {79} third paragraph under "Defining and Running Java Programs," second-to-last sentence: "(or -cp)" was added after "option". (79) 5th paragraph: The last sentence "You may also need to specify the -classpath option to tell the interpreter to look for the classes..." now reads "You may also need to specify the -classpath option to tell the interpreter where to look for the classes..." {138} last code line under "// Creating strings": t1 = Object.toString(); // Convert objects to strings with toString() now reads t1 = object.toString(); // Convert objects to strings with toString() (138) 13th line from bottom: The line t.getChars(0, 3, ca, 1); // Put 1st 3 chars of s into ca[1]-ca[3] now reads t.getChars(0, 3, ca, 1); // Put 1st 3 chars of t into ca[1]-ca[3] (149) paragraph after first code block: "does not run" now reads "does not typically run." {151} last line of first code example: sorter.join(); now reads try { sorter.join(); } catch(InterruptedException e) {} (151) third paragraph: "declare any sensitive methods" now reads "declare all sensitive methods." {152} "When a thread calls the wait() method of an object, it is added" now reads "When a thread calls the wait() method of an object, any locks the thread holds are temporarily released, and the thread is added..." (160) line 5 of example: "host.domain.org" now reads "host.example.com". {193} fourth line from bottom of code example: public Complex add(Complex c1, Complex c2) { now reads public static Complex add(Complex c1, Complex c2) { {332} last sentence of Boolean description: "boolean value" now reads "Boolean object." {393} near middle: "1.2" flags were added to the lines for the public constants ONE and ZERO. (579) Figure 28-1: IVParameterSpec now reads: IvParameterSpec