Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp

Bram Vonk

Greenhorn
+ Follow
since Nov 28, 2015
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bram Vonk

On page 409, in table 8.1, next to listFiles() it says:

Returns a File[] array denoting the files in the directory


It also returns directories. In the rest of the table you explicitely differentiate between files and directories. I propose to change the sentence into:

Returns a File[] array denoting the files and directories in the directory

Roel De Nijs wrote:From the moment you have a concrete class (nonabstract) you must implement all inherited abstract methods (...)


Roel De Nijs wrote:So the sentence should be updated to: "The key point is that the first concrete class to extend the abstract class (...)


Bram Vonk wrote:Shouldn't this be:
"The key point is that the first nonabstract class (...)



That's something else that irked me: I wrote "nonabstract", because the book said on page 262:

book wrote:A concrete class is the first nonabstract subclass that extends an abstract class (...)


(emphasis mine)

Not only the first nonabstract class that extends an abstract class is concrete: all classes that extend a concrete are also concrete, right?

Then it should have been something like:

The first nonabstract subclass that extends an abstract class is called a concrete class (...).
IN chapter 5, on page 263 of the OCA Java 8 Study guide, in the second-to-last sentence of the second paragraph, it says:
"The key point is that the first class to extend the nonabstract class must implement all inherited abstract methods."
Shouldn't this be:
"The key point is that the first nonabstract class to extend an the nonabstract class must implement all inherited abstract methods."

Also: at the top of the errata table on http://www.selikoff.net/java-oca-8-programmer-i-study-guide/ there seems to be a dangling table row.

Jeanne Boyarsky wrote:...

Mushfiq Mammadov wrote:3. On page 191, the last paragraph of section, fifth sentence:
Maybe numbers should be number.



Added these two the errata.


An erratum to the errata: the errata says the 3rd paragraph, but it is the 4th.