On Page 489, the example says that the Files.walk() method looks at the input parameter's subdirectories and prints files there too.
But on Question 17, I was told the answer was G instead of EFG. Why is this? What about the test question makes it different from the example?
Brecht Geeraerts wrote:Hi all,
I have a question related to the aforementioned book also in Chapter 7 Concurrency (but on page 337).
As you can see in the image, the following is stated: "... the ExecutorSercive interface does not implement AutoCloseable...". Since both are interfaces and one interface does not implement another interface - but rather extends - shouldn't this be changed?
It is not (yet) mentioned on the errata list for the book.
Tony Esposito wrote:Hi Jeanne,
Any new "news" on this topic?
Anthony (Tony) Esposito
Brecht Geeraerts wrote:@Jeanne: I'm not doubting that the book will exist. In fact, I'm very eager to get my hands on it.
Brecht Geeraerts wrote: The previous books (OCA, OCP) are very good.