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

Possible errata in OCP SE11 Programmer I book

 
Ranch Hand
Posts: 74
2
Mac IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I found a possible errata on page 514, answers to Review Questions number 5.:

"For these reasons, the overridden method is called on lines 15 and 16, printing Spider twice.

Should be: "For these reasons, the overridden method is called on lines 14 and 15, ..."

And:

"Line 17 calls the overloaded method in the Arthropod class , as the long value 5L does not match the overridden method, resulting in Arthropod being printed."

Should be:"Line 16 calls the overloaded method ..."

I didn't see it on that page https://www.selikoff.net/ocp11-1/.
 
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
Confirmed and added to the errata. Thank you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic