Bug Report Page

Big Java Brief Java
7th Edition 9th Edition
Section 15.2.3
In Table 3, rows 2 to 4 should be as follows:
Returns false because the iterator is at the end of the collection.
if (iter.hasPrevious())
   s = iter.previous();
hasPrevious returns true because the iterator is not at the beginning of the list. The call to previous returns "Sally", and the iterator is again at the beginning of the list. previous and hasPrevious are ListIterator methods.
The set method updates the last element returned by next or previous, without changing the iterator position. The list is now [Juliet].

Thanks to (your name might go here) for their bug reports and suggestions

Bug Report Form

Please use this form to report any bugs that you find. Please check the list of known bugs first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!

Your name:

Your email address:

Page number:

Problem description:

To protect against spam robots, please answer this simple math problem:
* =