This week's book giveaway is in the Design and Architecture forum.
We're giving away four copies of Communication Patterns: A Guide for Developers and Architects and have Jacqui Read on-line!
See this thread for details.
  • 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:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Online mock exam 3 typos (OCP8, Sybex)

 
Ranch Hand
Posts: 30
4
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.

One of the questions on mock exam 3 has a couple of errors.

The question about public enum Suit and Color (enum within enum question)...

1. Option D states that "Color.Black should be replaced by BLACK on line 2".  It should be Color.BLACK in the option.
2. Option E states that  "Color enum on line 4 should be declared private".  It is already private in the provided example code.  

I think that Option E typo could, potentially, affect the answer choice.  Either the access modifier in the code or in the option should be changed, to make option E a viable option.

Thank you!
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OK, I just "got" option E.  It means whether private modifier is necessary or not, not whether it has to be changed.  So forget the second error.  First typo still remains, and doesn't affect the answer.

Thanks.
 
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Elana Abelev wrote:I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.


It is always useful to at least mention which study guide this errata report is about. And preferrably you add it into the subject (e.g. between parantheses)
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roel De Nijs wrote:

Elana Abelev wrote:I haven't seen this in errata, and apologies if it's a duplicate post or my misunderstanding.


It is always useful to at least mention which study guide this errata report is about. And preferrably you add it into the subject (e.g. between parantheses)



You are right!  This is for the Sybex Wiley Oracle OCPJP 1Z0-809 online mock exam.

I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!
 
Roel De Nijs
Sheriff
Posts: 11604
178
Hibernate jQuery Eclipse IDE Spring MySQL Database AngularJS Tomcat Server Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Elana Abelev wrote:I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!


I have added it for you.
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another typo report for the same exam.  The question about Platypus and UsesBeak

Option A should say "Platypus has-a UsesBeak", not "Platypus has-a Beak".
 
Elana Abelev
Ranch Hand
Posts: 30
4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Roel De Nijs wrote:

Elana Abelev wrote:I haven't figured out how to modify the title of the post, otherwise I'd do that.  Thanks!


I have added it for you.



Thanks!!!
 
author & internet detective
Posts: 41967
911
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 Abelev wrote:1. Option D states that "Color.Black should be replaced by BLACK on line 2".  It should be Color.BLACK in the option.



Elana Abelev wrote:Option A should say "Platypus has-a UsesBeak", not "Platypus has-a Beak".



Confirmed both and added to the errata. Thanks!
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic