I've gone through the first three chapters (6th Edition) and I've found quite a few errors, which I will summarize here:
page 66, Listing 2.5: Attempts to define a class with only the name of the class (no "public" or "class"). This will not compile as written.
page 68, Listing 2.6: Attempts to define a class with "publicclass" (yes, as one word). This will not compile as written.
page 96, Listing 2.10: Attempts to define a JApplet class with "Einstein JApplet" (again leaves out necessary reserved words, and most importantly I have no idea where to put the "extends" reserved word). This will not compile as written.
page 102, Listing 2.11: Same problem as the last one.
page 129, bottom paragraph (refers to writing code to solve a quadratic equation): "Note that this program assumes that the discriminant (the value under the square root) is negative. If it's not negative, the results will not be a valid number, which Java represents as NaN, which stands for not a number." This claims that you can only take the square root of a negative number, which is in fact the opposite of what anyone with a high-school math education could tell you.
I'm pretty worried about what other errors lie in wait for me as I continue through the book. This is some really terrible proof-reading work. The only reason I didn't give it one star is that the end-of-chapter projects are quite useful for learning to write your own code and practice the different techniques presented. So it's not completely useless.
- Paperback: 784 pages
- Language: English
- ISBN-10: 0201571641
- ISBN-13: 978-0201571646
- Product Dimensions: 3.8 x 19 x 23.5 cm
- Boxed-product Weight: 1.2 Kg
- Average Customer Review: Be the first to review this item