Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released.
The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By |
|---|---|---|---|
| Printed | Page 5 4th line from the bottom to top |
return guitar; is missing after continue; |
Anonymous |
| Printed | Page 6 end of second line of System.out.println in if block |
guitar.getBuilder() + " " + guitar.getModel() + " " |
Anonymous |
| Printed | Page 6 and 7 construction of whatErinLikes (on page 6) and inventory.addGuitar() on page 7 |
on page 6, we use the string "fender" |
Anonymous |
| Printed | Page 6 Codebox |
I talk about the german version of the book. In the code, the Fender guitar is a "Stratocastor" instead of a "Stratocaster". |
yetibrain |
| Printed | Page 41 In "torn sheet" of "public Guitar(String..." |
The declaration of the class Guitar is the pre-GuitarSpec one: |
Anonymous |
| Printed | Page 45 matches method |
There should be getter methods for accessing the properties in the 'otherSpec' object. All method calls are made as if the properties were public. |
Anonymous |
| Printed | Page 49 If your target audience is only college level and up it may not be an issue for you). The use of the word "ass" on pages xxxiii and 49 would make me hesitate recommending the book to anyone teaching programming in high school classes. |
Anonymous | |
| Printed | Page 51 The clues for the crossword puzzle are blurry. It doesn't look like a printing issue to me but the choice of font. |
Anonymous | |
| Printed | Page 80 Second comment to the right, next to point 3 |
"(...) since them pushing the button isn't something that's you have to handle" |
Anonymous |
| Printed | Page 82 2/3 of the way down |
If I am reading the code on page 82 correctly, the whole example of automatically closing the door is based on the assumption that in normal circumstances (the "main path"), a dog can go outside, do its business, and get back inside within FIVE SECONDS. The note on page 83 says that is "plenty of time to get back inside before the door closes." That is one fast dog! |
Anonymous |
| Printed | Page 88 Code Magnets, 2d paragraph |
"(...) there is a twist... all the magents for periods" |
Anonymous |
| Printed | Page 88-90 N/A |
On page 89, we see the first line of output from DogDoorSimulator.java is: |
Aaron Adams |
| Printed | Page 107 Crossword hint, 21 across |
|
Anonymous |
| Printed | Page 128 (answers: how many scenarios in the use case "Todd and Gina's...") |
path 1 and path 6 are identical. The correct answer should thus be that there are six different scenarios, not seven. |
Anonymous |
| Printed | Page 183 lower left |
Note says "... it's the SAME class diagram." |
Anonymous |
| Printed | Page 193 All |
The output does not match DogDoorSimulator.java. |
Anonymous |
| Printed | Page 196 bottom exercise solution |
The arrow from Attribute should point at "Equivalent to a member variable in a class." and the arrow from Operation should point to "This is the UML term that usually represents a method in one of your classes." |
Anonymous |
| Printed | Page 199 In the class diagram |
In the class diagram shown, class Inventory is associated to class Guitar and holding a reference to the Guitar class. The reference is named "inventory" in the class diagram by mistake (I suppose). It should have been named "guitar" |
Anonymous |
| Printed | Page 199 on the Guitar Class |
on the Guitar Class 'inventory *' -> 'guitars *' |
Anonymous |
| Printed | Page 205 1st paragraph |
"Whenever you find common behavior in two or more places, look to abstract that behavior into a class, and then reuse that behavior in the common classes" |
Anonymous |
| Printed | Page 212 Last method - search() |
The line |
Anonymous |
| Printed | Page 344 First full paragraph, starts with "Below is ..." |
|
Anonymous |
| Printed | Page 389 First comment to the left |
The first comment to the left reads: |
Anonymous |
| Printed | Page 400 Top Title |
I have an early print of this book but didn't see this mentioned as being changed in the most recent printing. |
Anonymous |
| Printed | Page 476 last method in UnitGroup |
A call to getUnits() is going to die at runtime with a ClassCastException--the objects in the iterator aren't Units, they're Map.Entrys. |
Anonymous |
