This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Production-Ready Serverless (Operational Best Practices) and have Yan Cui on-line!
See this thread for details.
Win a copy of Production-Ready Serverless (Operational Best Practices) 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 ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Ron McLeod
  • Tim Moores
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Vijitha Kumara

Report error: Java OCP 8 Programmer II Study Guide  RSS feed

 
Greenhorn
Posts: 5
1
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chapter: 3, Page: 137
First: above the Figure 3.7 in the stack code example should be change from “poll” to “pop”.
Second: in Figure 3.7 instead of “poll” method should be “pop” method
 
author & internet detective
Posts: 39195
725
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abdulaziz,
Welcome to CodeRanch!

Good catch! The output is the same either way. But you are correct; it should be pop() since we are talking about a stack. I've added this to the errata
 
Ranch Hand
Posts: 30
4
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm jumping in on this thread not to open a new one...  And yes, it's nitpicking, but we've been taught to nitpick on the exams, so here you go...

OCP Ch6. question 16 (page 322), option D.  Should read "snow 0", not "show 0".  Doesn't change the result, but still....  Didn't see it in the errata yet.
 
Jeanne Boyarsky
author & internet detective
Posts: 39195
725
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Elana,
Good catch. You are the first to notice that. I added it our private list of things that aren't technically errata but we should fix in a later edition.
 
Are you okay? You look a little big. Maybe this tiny ad will help:
global solutions you can do in your home or backyard
https://coderanch.com/t/708587/global-solutions-home-backyard
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!