Академический Документы
Профессиональный Документы
Культура Документы
page...type......description
.14.*..bug.......2nd para. was: Apart from using...in Chapter 10, you can do one of...
...........................s/b: You can do one of two things...
.61.*..bug.......Middle para. s/b: The key point to remember is that an enum that
isn't enclosed in a class, can be...
.62.*..bug.......After first code s/b: ...of the enum declaration, when no other
declarations for this enum follow
&65....clarify...comment in code s/b: ...REQUIRED when more code follows
If any superclass in its inheritance tree has already provided concrete (i.e., non-
abstract) method implementations, then, regardless of whether the superclass
declares that it implements the interface, the subclass is under no obligation to re-
implement (override) those methods.
216....bug.......Starting at 2nd sentence "As we'll cover..." remove that sentence and
the code down to the next heading.
233....bug.......In table 3-3, valueOf for Boolean does not throw NFE
234....bug.......1st two S.o.p.'s s/b: ("y = " + y);
235.*..typo......2nd para. "So, under the covers..." was: "i++", s/b: "y++"
322....clarify...Near the bottom of the exam watch, sentence s/b: But the only
variables that can be assigned (rather than tested against something else) are a
boolean or a Boolean; all other...
381....bug.......code s/b:
switch(x) {
case 2: y = 3; break;
case 3: y = 9; break;
case 4: y = 27; break;
default: assert false; // we're never supposed to get here
}
507.*..bug.......F & G, replace "override" with "implement" and in the answer for A,
B, D, and E:
& 520............s/b: ...you don't implement the defaultReadObject() method, you call
it from within the readObject() method...
574....big bug...The top 2/3 of the page uses a HashSet / Set example. It should be
using an ArrayList / List example, so replace 10 occurrences of "Set" with "List", and
replace 2 occurrences of "HashSet" with "ArrayList".
631....bug.......A-13, end of answer s/b: are not defined in the Arrays or Collections
classes. (Objective 6.5)
meetthe2klion@yahoo.com