This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Journey To Enterprise Agility and have Daryl Kulak & Hong Li on-line!
See this thread for details.
Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • 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:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Questions re Sybex OCP Java 8 study guide  RSS feed

 
Greenhorn
Posts: 8
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have some questions on various points in the Sybex OCP8 study guide. I don't know if it's my own misunderstanding that's the problem or if it's the wording of the text. Any help would be appreciated.

p84. In the bottom paragraph. 'We provide two methods for retrieving the total number of favorite foods as
well as a method to retrieve a food based on an index value.'
To me that sounds like 3 methods altogether but I think there are only 2 that are relevant. Should it be rewritten for clarity?

p359 - I'm puzzled by the third sentence - 'As you may remember from our discussion of polymorphism in Chapter 2, even though the reference type changes, the underlying object is still a ConcurrentHashMap.' But in the examples above, the reference type hasn't changed and the object has.

p377. In the third sentence in the box (starting with 'Alternatively') the end doesn't seem to match up with the start. Are there some words missing?

p463 - first sentence. What is a 'path representative'? Does 'representative' have a specific meaning in Java that I've not come across before?

p476 - middle of the page 'the NIO.2 API bridges information about streams,'. What does this phrase mean?

Thanks,
Nick.
 
author & internet detective
Marshal
Posts: 38502
653
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Nick Robinson wrote:p84. In the bottom paragraph. 'We provide two methods for retrieving the total number of favorite foods as
well as a method to retrieve a food based on an index value.'
To me that sounds like 3 methods altogether but I think there are only 2 that are relevant. Should it be rewritten for clarity?


Yes.

Nick Robinson wrote:p359 - I'm puzzled by the third sentence - 'As you may remember from our discussion of polymorphism in Chapter 2, even though the reference type changes, the underlying object is still a ConcurrentHashMap.' But in the examples above, the reference type hasn't changed and the object has.


I need to think on what we meant, but you look right.

Nick Robinson wrote:377. In the third sentence in the box (starting with 'Alternatively') the end doesn't seem to match up with the start. Are there some words missing?


Seems right to me. Here's the sentence if anyone wants to comment on our grammar "Alternatively, you may expect some collectors to perform well on a
parallel stream, resorting to single-threaded processing at runtime."

Nick Robinson wrote:p463 - first sentence. What is a 'path representative'? Does 'representative' have a specific meaning in Java that I've not come across before?


I think that is a typo and should be the path it represents.

Nick Robinson wrote:p476 - middle of the page 'the NIO.2 API bridges information about streams,'. What does this phrase mean?


It means that the API allows you to connect to "legacy" IO streams.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!