Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Abdulaziz Akbary
Greenhorn
Posts: 1
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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36616
473
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
 
Elana Abelev
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
Marshal
Posts: 36616
473
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!