Win a copy of High Performance Python for Data Analytics this week in the Python 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
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Report error: Java OCP 8 Programmer II Study Guide

 
Greenhorn
Posts: 5
1
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 40400
821
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
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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 40400
821
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic