Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

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: 4335
39
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: 41763
885
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)
 
Why is the word "abbreviation" so long? And this ad is so short?
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic