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

clarification in page 263 of the OCP Java SE 8 Programmer II Study Guide (Sybex)

 
Ranch Hand
Posts: 182
18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In page 263, in the explanation after the Tax_en_US class it says "We just specify the name of the package before the name of the class".
But in line 9, name of the class is not specified but the "base name" is specified.

yeah, using the class name also works fine

So, either the code can be changed to represent fully qualified class name or in the statement, "name of the class" can be changed to "base name".

And in page 266, in the real world scenario box, it would be useful to add the output after formatting as

please do correct me, if my understanding is wrong.
 
author & internet detective
Posts: 41763
887
Eclipse IDE VI Editor Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I logged page 263's in the errata. It should be have said base name. While the class name does work, that's not something you have to know for the exam. In fact, it isn't a good idea to do in general!

For page 266, I added it to our private list since it isn't an error. It is a good idea though!
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic