 |
 |
 |
Deitel Home About Deitel & Associates, Inc. Opportunities for Contract Trainers Media Kit Press Deitel SiteMap Deitel Gear at CafePress.com
Apps
Resource Centers
Training On-Site, Instructor-Led Training Training Overview Course Catalog and Pricing GSA Course Catalog and Pricing C Programming Curriculum Overview CPlusPlus Programming Curriculum Overview Java Programming Curriculum Overview Internet & Web Programming Curriculum Overview iPhone App Development for Programmers Visual Basic Programming Curriculum Overview Visual C# Programming Curriculum Overview Visual C++ Programming Curriculum Overview Self-Paced Training (DVD/Online)
Video
Books LiveLessons Video-Based Training Android Android for Programmers Android How to Program C C How to Program, 7/e C How to Program, 6/e C How to Program, 5/e Past Editions C How to Program, 3/e C How to Program, 2/e C How to Program, 4/e C++ C++ How to Program, 8/e, Early Objects Version C++ How to Program, 7/e C++ How to Program, Late Objects Version, 7/e C++ How to Program, 6/e C++ for Programmers Visual C++ 2008 How to Program, Second Edition Small C++ How to Program, 5/e Simply C++, 1/e Past Editions C++ How to Program, 5/e C++ How to Program, 4/e The Complete C++ Training Course, 4/e C++ In the Lab, 4/e C++ How to Program, 3/e The Complete C++ Training Course, 3/e C++ In the Lab, 3/e C++ How to Program, 2/e The Complete C++ Training Course, 2/e Visual C++ .NET A Managed Code Approach, 1/e Getting Started with Visual C++ 6, 1/e Visual C++ .NET How to Program, 1/e C# Visual C# 2010 How to Program C# 2010 for Programmers, 4/e Visual C# 2008 How to Program, 3/e C# 2008 for Programmers, 3/e Visual C# 2005 How to Program, 2/e C# For Programmers, 2/e Simply C#, 1/e Past Editions C# A Programmer's Introduction, 1/e C# for Experienced Programmers, 1/e C# How to Program, 1/e Internet/Web/Scripting Internet & World Wide Web How to Program, 5/e Internet & World Wide Web How to Program, 4/e JavaScript for Programmers Ajax, RIAs and Web Development for Programmers Internet & World Wide Web How to Program, 3/e Perl How to Program, 1/e Python How to Program, 1/e Web Services A Technical Introduction, 1/e Past Editions Internet & World Wide Web How to Program, 2/e Internet & World Wide Web How to Program, 1/e Wireless Internet & Mobile Business Training, 1/e e-Business & e-Commerce Training Course, 1/e Wireless Internet & Mobile Business How to Program e-Business & e-Commerce How to Program, 1/e e-Business & e-Commerce for Managers, 1/e iPhone iPhone for Programmers: An-App Driven Approach Java Java How to Program, 9/e, Early Objects Version Java for Programmers, 2/e Java How to Program, 8/e, Early Objects Version Java How to Program, 8/e, Late Objects Version Java for Programmers Java How to Program, 7/e Java How to Program, 6/e Simply Java Programming, 1/e Small Java How to Program, 6/e Java Web Services for Experienced Programmers, 1/e Past Editions Java How to Program, 5/e Java Student Solutions Manual, 5/e The Complete Java 2 Training Course, 5/e Java in the Lab, 5/e Java How to Program, 4/e The Complete Java Training Course, 4/e Java in the Lab, Java How to Program, 4/e Java How to Program, 3/e The Complete Java 2 Training Course, 3/e Java How to Program, 2/e The Complete Java Training Course, 2/e Java How to Program With Intro to Visual J++, 1/e Advanced Java 2 Platform How to Program, 1/e Operating Systems Operating Systems, 3/e Visual Basic Visual Basic 2010 How to Program Simply Visual Basic 2010 Visual Basic 2008 How to Program Simply Visual Basic 2008, 3/e Visual Basic 2005 for Programmers, 2/e Visual Basic 2005 How to Program, 3/e Simply Visual Basic 2005, 2/e Past Editions Simply Visual Basic .NET 2003, 1/e Simply Visual Basic .NET, 1/e Visual Basic. NET How to Program, 2/e Visual Basic .NET for Experienced Programmers, 1/e Visual Basic 6 How to Program, 1/e XML XML How to Program, 1/e Ancillaries Errata Translations CourseSmart Online Books for College Courses Web 2 eBook Dive Into Web 2.0 eBook Overview Contents Objectives and Outline Introduction What Is Web 2.0 Search Content Networks User-Generated Content Blogging Social Networking Social Media Tagging Social Bookmarking Software Development Rich Internet Applications (RIA) Web Services, Mashups, Widgets, Gadgets Location-Based Services XML, RSS, Atom, JSON and VoIP Web 2.0 Monetization Models Web 2.0 Business Models Future of the Web Wrap-Up Where to Go for More Web 2.0 Information Web 2.0 Bibliography Web 2.0 Glossary Index About Deitel About Internet & World Wide Web How to Program
Store
FAQs
Newsletter Subscribe to the Deitel Buzz Online Newsletter Current Issue Newsletter Archive
Tutorials Free tutorials and articles
|
|
 |
|
Books >> Java >> Java How to Program, 6/e >> Errata: Java How to Program, 6/e |
| |
|
|
|
| Errata: Java How to Program, 6/e | |
| We wish to thank our many readers who took the time to email us with errata. If you find errata not listed on this page, please email us at deitel@deitel.com. Remember to include the book title and edition.
Note: You can determine which printing you have by looking at the bottom of the back of the second physical page in the book (page iv, but it has no page number). Just above the ISBN number is a list of numbers. For the first printing of the book, the list appears as follows: 10 9 8 7 6 5 4 3 2 1 The last number in the list is the printing number. So the above list indicates printing 1 and the following list indicates printing 2: 10 9 8 7 6 5 4 3 2 Chapter 2- p55, Fig. 2.13: the arrow pointing from the result of step 3 into step 4 should point to the value 15 not the value 50. Download the corrected page.
Chapter 3 Chapter 4- Example 4.12 on page 151 line 7 public void processExamResults has no parenthesis () after it. However in the example the parenthesis are present. Furthermore without the parenthesis the program will not compile.
- Missing GUI/Graphics examples from the CD included with the book (Chapters 3-4)
- Page 151, Fig. 4.12, Line 7: Missing left and right parentheses ( ) at end of line
- Page 177: Exercises 4.35 and 4.36 are duplicates.
Chapter 5- The version of class GradeBook printed on p. 194 will not compile. Line 69 incorrectly lists numericGrade as the name of the parameter of method incrementLetterGradeCounter, but the method body uses a variable named grade. The example file on the CD that accompanies the book, however, has the correct parameter name—grade—so the included file should compile. Changing either the parameter name to grade (as it is on the CD), or changing line 72 to use numericGrade will fix the problem.
- In chapter 5, in figure 5.19, the precedence/associativiy of the operators discussed so far is given. In this, I think the prefix operator "--" is incorrectly specified as "-". I see "-" mentioned twice there, which I presume to be "-" prefix operator and "--" prefix operator.
Chapter 6- page 259, Section. 6.11, last paragraph of section, second line from end, change variable name "start" to "begin".
Chapter 8- page 360, Fig. 8.1, line 13, missing left brace {
- page 408, 12th bullet on page should read: EnumSet static method range takes two parameters—the first enum constant in a range and the last enum constant in a range—and returns an EnumSet that contains all the constants between these two constants, inclusive.
Chapter 9 - page 431, Fig. 9.8, Line 14 changed variable name to "salary".
Chapter 10 - Page 474, Line 49: gethours should be getHours
- Page 489, 13 lines down from top of page: "implement" should be "implements"
Chapter 11- page 557: Lines 31 and 32 of Fig. 11.31 are never used. They can be deleted.
Chapter 14 - page 680, Fig. 14.4, Line 35, change "else" to "if"
- page 682, 3rd full paragraph, 7th line, change "file.pathseperator" to "file.seperator"
- New exercise description for Exercise 14.14:
Modify Exercise 11.18 to allow the user to save a drawing into a file or load a prior drawing from a file using object serialization. Add buttons Load (to read objects from a file) and Save (to write objects to a file). Use an ObjectOutputStream to write to the file and an ObjectInputStream to read from the file. Write the array of MyShape objects using method writeObject (class ObjectOutputStream), and read the array using method readObject (ObjectInputStream). Note that the object-serialization mechanism can read or write entire arrays—it is not necessary to manipulate each element of the array of MyShape objects individually. It is simply required that all the shapes be Serializable. Because the array of MyShape objects has 100 elements and the array is not necessarily filled with shapes drawn by the user, you may also want to store to the file the number of shapes drawn so far. For both the Load and Save buttons, use a JFileChooser to allow the user to select the file in which the shapes will be stored or from which they will be read. When the user first runs the program, no shapes should be displayed on the screen. The user can display shapes by opening a previously saved file of shapes or by drawing their own shapes. Once there are shapes on the screen, users can save them to a file using the Save button. - On Page 682 (Chapter 14.4), you mention that the separator character, which is OS-dependent, should be had by using File.pathSeparator.
It should be File.separator, which returns “/” or “\”. File.pathSeparator returns “:” or “;”, which is used in a %PATH% or $PATH search variable.
Chapter 22 - Page 1036, 3rd full paragraph, second sentence is incomplete. It should read, "The argument JTabbedPane.TOP sent to the constructor indicates that the tabs should appear at the top of the JTabbedPane.
Chapter 23 - Page 1105, remove exercise 23.7 (blank) and everything else should move up by one (this is correct in the instructor's manual)
Chapter 29 - Page 1364, section 29.3.8, last paragraph of section, should be "Note: Lines 12-13 use literal values 10000000000L and 2.5f as ...".
- Page 1364, section 29.3.8, last paragraph of section, 10000000 should be replaced with 10000000000 in the last paragraph of Section 29.3.8.
- Page 1376, last paragraph, says " ... Lines 8-9 instantiate two Character objects and pass character literals to the constructor to initialize those objects. ..." This is not true, because lines 8-9 do not use the Character constructor, instead, auto-boxing occurs.
| |
 |


|
 |
|
ISBN: 0131483986
© 2005, pp. 1500
Order now at
Amazon.com
|
| |
| Download Code Examples and Other Premium Content for Registered Users | |
| Login or Register to download this book's code examples and other premium content. | |
|
|
|
|
|  | |
|