• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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: 41860
908
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!
 
Hoo hoo hoo! Looks like we got a live one! Here, wave this tiny ad at it:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic