Page 1 of 1
About Question enthuware.ocpjp.v7.2.1732 :
Posted: Sun Mar 23, 2014 12:00 am
by M.Komarov
Hi!
Is it necessary to add the semicolon in the end of the line before line //2:
public enum EnumB{ B, BB, BBB
public Object clone(Object o){ return B; } //2
};
? Or add the explanation of the second compile time error to the option 2?
Re: About Question enthuware.ocpjp.v7.2.1732 :
Posted: Sun Mar 23, 2014 12:06 am
by admin
Semi-colon is fine. It is not necessary, but it is not an error either.
Re: About Question enthuware.ocpjp.v7.2.1732 :
Posted: Sun Mar 23, 2014 12:49 am
by M.Komarov
I mean before line //2, i.e. after "BBB". My compiler says ',','}', or ';' expected (if I rename clone to something else).
Re: About Question enthuware.ocpjp.v7.2.1732 :
Posted: Sun Mar 23, 2014 2:56 am
by admin
I see. Yes, it should be there. Fixed.
thank you for your feedback!
Re: About Question enthuware.ocpjp.v7.2.1732 :
Posted: Thu May 29, 2014 11:31 am
by Crashtest
Just so you know ";" is still missing in the code as per above posts.
I have downloaded the latest questions set less than two weeks ago...
Re: About Question enthuware.ocpjp.v7.2.1732 :
Posted: Thu May 29, 2014 8:46 pm
by admin
Definitely fixed in version 1.74. Please download the question bank again.
HTH,
Paul.