Introduction to Programming Using Java, Third Edition
News and Errata for Version 3.1
THIS PAGE LISTS some news items about this textbook. It also lists the changes and corrections that have been made after the release of Version 3.1 in February 2001. The changes listed here have been incorporated into the final packaging of Version 3.1, which is available at http://math.hws.edu/javanotes3/. A newer version of the book, which requires Java 1.3 or higher, is available at http://math.hws.edu/javanotes/.
News
- June,2004. A final corrected edition of Version 3.1 of this textbook has been released, incorporating corrections that were made since the original release of Version 3.1. It is available at http://math.hws.edu/javanotes3/. There will be no further changes to this version of the book. The newest version of the book is always available at http://math.hws.edu/javanotes/.
- July 16, 2002. A new Fourth Edition has been released. The home page for the textbook (http://math.hws.edu/javanotes/) now leads to the new edition. The Third Edition is permanently archived at http://math.hws.edu/eck/cs124/javanotes3/.
- February 3, 2002. I would like to thank Steve Blanchard for pointing out many typographical, spelling, and grammar errors in Chapters 1 through 10. I have corrected these in the on-line version of the text (but I have not noted them in the errata section below, since there are too many of them).
- January 7, 2002. I recently finished teaching a course based on this book. You can find information about the course at http://math.hws.edu/eck/cs124/. Lab worksheets from the course are now available for download from that page.
- September 1, 2001. Grant Corry, a reader on the Internet, writes to inform me that synedit, a text editor for Windows that I mentioned in Appendix 2, is no longer available (at least not on the Web site that I gave). I've removed the reference to this editor from the Appendix. Grant Corry recommends JCreator (http://www.jcreator.com/) for writing Java programs on Windows. JCreator is available in both a free version and and a shareware "pro" version. JCreator, however, is a IDE (integrated development environment, not a text editor. Readers who are using Java 1.3 might want to take a look at JEdit (http://www.jedit.org), a programmers' text editor written in Java that has many nice features.
- February 18, 2001. Version 3.1 of Introduction to Programming Using Java is released. It is a minor upgrade of Version 3.0 that incorporates a few changes and corrections. The major change is that modification and republication is now covered by the terms of the Open Publication License.
- February 15, 2001. A copy of this textbook has been added to Andamooka.org. Andamooka hosts open content books. Readers can annotate the books and read other user's annotations.
- October 20, 2000. Burks 5, the fifth edition of a collection of computer-science software for Windows, is now available on-line at http://burks.brighton.ac.uk/burks/index.htm. An inexpensive CD version of the site is also available. This includes a copy of this textbook at http://burks.brighton.ac.uk/burks/language/java/jnotes/index.htm.
- July 20, 2000. Sun, Inc., has listed this text on their "New to Java" page.
- May 24, 2000. The new third edition was completed and released today.
Errata
- In file c4/ex-4-6-answer.html, lines 113 and 114: top should be replaced by left and top+height-1 by left+width-1. Also, in lines 130 and 294, height should be width
- In file c4/ex-4-5-answer.html, line 171: currentColumn = ROWS - 1 should be currentColumn = COLUMNS - 1
- In file c4/ex-4-4-answer.html, line 98: type-case should be changed to type-cast.
- In file source/index.html, line 105: The link to Card.java should be changed to a link to Deck.java.
- Section 4.4, file c4/s4.html, line 16: Change "can only a return" to "can only return a".
- Section 3.4, file c3/s4.html, line 234: Change "D % N" to "N % D". This substantive error was pointed out by a reader.
- Section 2.4, file c2/s4.html, line 155: Change "depending on the value of the parameter that you supply" to "depending on the type of parameter that you supply." A reader wrote to note that it is more correct to say that the type of the parameter, not the value, determines which of an overloaded set of subroutines is called.
- Quiz for Chapter 6, file c6/quiz.html, line 50: "for (int j = 10; i <= 210; j = j + 50)" should read "for (int j = 10; j <= 210; j = j + 50)". The same error occurs in the quiz answers, file c6/quiz_answers.html, line 112.
- June 17, 2001, in source file TextIO.java: Changed a double semicolon ";;" on line 536 to a single ";". Interestingly, I'm not sure whether this should or should not be a Java syntax error. Two semicolons in a row are not generally a syntax error since the second semicolon is treated as a perfectly legal but useless empty statement. However, in this case, the line read: "throw new RuntimeException("End-of-file on standard input.");;" so the empty statement is "unreachable". That is, the computer can't ever get to it when it runs the program since the "throw" statement ends execution of the subroutine. An on-line reader, John Roquemore, wrote to say that his compiler (a Java 1.4 beta) reported this as an error. However, no other Java compiler that I've encountered has reported an error. After all, it doesn't matter whether an empty statement is unreachable, since it wouldn't do anything if it were reached! Anyway, the ";;" was a typo and I have corrected it in the on-line version of the file. The same error occurs on line 125 of file source/Blobs.java.
- Section 4.2, file c4/s2.html, line 135: "its not an example" should be "it's not an example".
- Chapter 3 Quiz Answers, file c3/quiz-answers.html, line 264: "startword = true;" should be "startWord = true;".
- Appendix 1 Section 1, file java2cpp/s1.html, line 269: "C++ uses try, catch, and throw in the same way as C++" should be "C++ uses try, catch, and throw in the same way as Java".
- Front page, file index.html, line 22: "it also suitable for individuals" should be "it is also suitable for individuals".
[ Main Index ]