• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Sybex OCP Java 8 Study Guide Chapter 2-3 p 100,129,130,144,164

 
Greenhorn
Posts: 13
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think I found some minor typos in Chapter 2 and 3.

Chapter 2, p 100, Q 13, answer B : I think it's missing an "are" in "All of the instance variables are marked ...". Same problem in the online version.


Chapter 3

P 129 second-last paragraph : it should refer to Chapter 7 (Concurrency) instead of Chapter 8 (IO)

P 130 table 3.4 : the add(E element) method should have a boolean return type. The remove(int index) method should have a E return type.

P 144-145 : I think the errata could be a bit more comprehensive regarding the package of the Comparable interface. Mike has spotted it 3 times in its original post:
- unnecessary import on the code sample p 143
- wrong code sample on the LegacyDuck code sample p 145
- wrong paragraph at the bottom of p 145
There is also the same error in the Animal code sample at the bottom of p 144

P 164 Q 9: although not technically an error and not something that could happen at the real exam, shouldn't it be a "Choose all that apply" question for extra trickiness ?

In the errata list, p 159 should refer to Chapter 3 instead of Chapter 4

Thanks
 
author & internet detective
Posts: 42103
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Seb. I've logged them all in the errata except for the suggestion about page 164 which I put in our private list.

Seb Cano wrote:P 129 second-last paragraph : it should refer to Chapter 7 (Concurrency) instead of Chapter 8 (IO)


We had a renumbering of chapters after we were mostly done writing. We tried to change all the references, but this one escaped! (Aka it wasn't a random typo - there was a reason for it at least)
 
Greenhorn
Posts: 21
IntelliJ IDE Oracle Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jeanne,

I don't completely agree with your errata on page "https://www.selikoff.net/java-ocp-8-programmer-ii-study-guide/" regarding the error Seb pointed for page 130, chapter III.

You wrote :

In table 3.4, the first should have a boolean return type. The second to last row should return E, not void.



but only the remove method should return E, not all method "from second to last row returning void should return E", because 2nd one (void add(int index, E element)) is actually correct in the book.

I would suggest more specifically :

In table 3.4, the 1st (add(E element)) should have a boolean return type. The 6th (remove(int index)) should return E, not void.

 
Jeanne Boyarsky
author & internet detective
Posts: 42103
933
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"second to last" means second from the bottom, not a range. That said, I changed to your verbiage since it is more explicit.
 
What do you have in that there bucket? It wouldn't be a tiny ad by any chance ...
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic