This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Sample one has been up for over a month, and we just put sample two up today. The sample three button doesn't work, so please don't send us a bug report on the samplethree button
Sample two is, again, some cut and paste magic, so don't worry about weird headings or page number issues. It contains the SCJP 5 book's section on Serialization, then it contains a bunch of mock questions on serialization, file i/o, strings, formatting, and regex. So, this sample is a bit of a grab bag.
... (unless you implement readObject) ... in place of ... (unless you implement defaultReadObject()) ...
page 454: exam watch If DataInputStream and DateOutputStream are nos in the exam, why not remove it from the objectives ? If people are not buying your book, they will use their to study something that is not in the exam.
page 459: selftest3 It's not indicated that IOException are catched somewhere. So, answer F could be considered as valid if we imagine that no catching occurs in the code. Would be nicer to have "Given that bw is a reference to ... and that all exception are catched"
page 465, first line
from a directory that has two subdirectories, "dir1" and "dir2" in place of from a directory that has two subdirectories, "dir1" and "dir1"
(last dir1 --> dir2)
page 468: selftest1 there are no explanation why start() return also 6 when length of String is 6 (means 0 to 5).
Vincent Brabant<br /><a href="http://fr.netbeans.org" target="_blank" rel="nofollow">http://fr.netbeans.org</a>
Joined: Oct 14, 2002
You have the distinction of finding the first, official, published errata for the book! grrr!
Ah well, it was inevitable. :roll:
As far as the Sun objectives are concerned, we're not in charge of that, it's really out of our control! So we hoped that our note would at least help some of the people! Don't you think?