• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sybex CSG 11: Some mistakes

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We noticed some mistakes in the Sybex CSG 11 book.

Some of them were already mentioned here, I checked :-)
https://www.selikoff.net/ocp11-complete/

I lost most of my notes, but here are some I didn't see on the site:

page 835: Question 9:
The flag "--internal-jdk" doesn't exist, it should be "--jdk-internals".

page 907: Question 20:
service.execute() is being called instead of .submit().
But there is a bigger issue: service isn't effectively final and can't be used in the lambda.

page 962/963: Question 10, answer F:
All instance members of the class must be serializable or marked "transient".
Page 941 mentioned that having 'null' at time of serialization is also an option, which isn't mentioned.
 
author
Posts: 4339
40
jQuery Eclipse IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks!  I've confirmed the errata and updated the book pages:
 https://www.selikoff.net/ocp11-2/
 https://www.selikoff.net/ocp11-complete/

Appreciate you finding these so we can make sure they don't make it into our upcoming Java 17 book!
 
author & internet detective
Posts: 41936
910
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
Note that the first one was in the errata as page 1160. (The answer is H for the question as written)
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic