Win a copy of Kotlin for Android App Development this week in the Kotlin 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 182
18
  • Mark post as helpful
  • send pies
  • 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: 39129
723
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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!
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!