💦 FULL SET: T//certification/Report error Java OCP Programmer - Full Archive

  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Devaka Cooray
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
Bartenders:

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: 42204
937
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: 42204
937