Win a copy of AWS Security this week in the Cloud/Virtualization 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
  • Piet Souris
  • salvin francis
  • fred rosenberger

Two little bugs in Kathy & Bert OCA java SE 8 Guide. First chapter.

Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ranchers!
I'm re-reading Kathy & Bert's OCA JAVA SE 8 Exam Guide.
Very accurated book, you can see many people work hard on it.
Anyway I cought two small bugs and I post here because there're no other place to report to.
One is 'organizational' and one technical.

The first one is at page 58 in the first on "the job!" paragraph.
The last sentence: "[...]Java provides a wide variety of Collection types to address these situations, but the only collection type on the exam is ArrayList, and Chapter 5 discusses ArrayList in more detail."
It's the Chapter 6 that discusses ArrayList.

The second one is at page 50 where it is discussed var-arg parameter, the basic sintax list-point:
"To declare a method using var-arg parameter, you follow the type with an ellipsis (...), a space, and the nameof array that will hold the parameters received."
In fact you can omit the space or you can put a space between the type and the ellipsis, or you can put as many spaces as you want around the ellipsis.
At least javac 1.8.0_31 enables the following code:

My pie came with a little toothpic holding up this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
    Bookmark Topic Watch Topic
  • New Topic